diff options
author | 2011-05-14 17:22:41 +0200 | |
---|---|---|
committer | 2011-05-14 17:22:41 +0200 | |
commit | f92aea56d89c1bfcb953a0fd57d07c08f65a53b1 (patch) | |
tree | d471b844d150593d557acbc5ba9bfa30183812f3 /plugins/gtkui/mainplaylist.c | |
parent | a36ac590553118cbeac7c7e1ccbeb405f1a8bf41 (diff) |
fixed several memleaks in gtkui
Diffstat (limited to 'plugins/gtkui/mainplaylist.c')
-rw-r--r-- | plugins/gtkui/mainplaylist.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/gtkui/mainplaylist.c b/plugins/gtkui/mainplaylist.c index 12ec24cf..f04f9cb1 100644 --- a/plugins/gtkui/mainplaylist.c +++ b/plugins/gtkui/mainplaylist.c @@ -234,6 +234,10 @@ main_column_size_changed (DdbListview *listview, int col) { void main_col_free_user_data (void *data) { if (data) { + col_info_t *inf = data; + if (inf->format) { + free (inf->format); + } free (data); } } @@ -336,6 +340,9 @@ main_playlist_init (GtkWidget *widget) { void main_playlist_free (void) { + g_object_unref (play16_pixbuf); + g_object_unref (pause16_pixbuf); + g_object_unref (buffering16_pixbuf); } void |