Bug 367120 - gtk_tree_selection_get_selected_rows() invocations are leaking
Summary: gtk_tree_selection_get_selected_rows() invocations are leaking
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.8   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 3.8 M5   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2011-12-19 14:28 EST by Grant Gayed CLA
Modified: 2011-12-22 02:40 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Gayed CLA 2011-12-19 14:28:29 EST
According to http://developer.gnome.org/gtk/2.24/GtkTreeSelection.html#gtk-tree-selection-get-selected-rows , the list that is returned by gtk_tree_selection_get_selected_rows() should have each of its item data freed with something like "g_list_foreach (list, (GFunc) gtk_tree_path_free, NULL)".  SWT does not currently do this (there are many cases).