[Pidgin] #13162: gtkblist.c has memoy leaks relating to gtk_tree_model_get_value
Pidgin
trac at pidgin.im
Tue Jan 4 11:41:15 EST 2011
#13162: gtkblist.c has memoy leaks relating to gtk_tree_model_get_value
-------------------+--------------------------------------------------------
Reporter: NaderM | Type: patch
Status: new | Component: libpurple
Version: 2.7.9 | Keywords: gtkblist.c memory leak
-------------------+--------------------------------------------------------
In many places in gtkblist.c, gtk_tree_model_get_value is used without an
aftermath g_value_unset() to free the memory.
I've attached a patch that replaces all uses of gtk_tree_model_get_value
with gtk_tree_model_get, which eliminates allocating memory and works
directly on the target pointer.
--
Ticket URL: <http://developer.pidgin.im/ticket/13162>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list