diff options
author | 2011-09-18 19:18:50 +0200 | |
---|---|---|
committer | 2011-09-18 19:18:50 +0200 | |
commit | a1fe093ae782eab7b1e7b093747262a0789a467c (patch) | |
tree | 4a4c593317e63febd8aa6a3e271dca14303849ed /plugins/gtkui/mainplaylist.c | |
parent | d6c42a055bf86ea8ccee8f4261aadff3441f906e (diff) |
fixed memleak caused by tooltip handler
Diffstat (limited to 'plugins/gtkui/mainplaylist.c')
-rw-r--r-- | plugins/gtkui/mainplaylist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/gtkui/mainplaylist.c b/plugins/gtkui/mainplaylist.c index d8721e8b..f22bb5aa 100644 --- a/plugins/gtkui/mainplaylist.c +++ b/plugins/gtkui/mainplaylist.c @@ -132,6 +132,7 @@ playlist_tooltip_handler (GtkWidget *widget, gint x, gint y, gboolean keyboard_m DB_playItem_t *it = (DB_playItem_t *)ddb_listview_get_iter_from_coord (DDB_LISTVIEW (pl), 0, y); if (it) { gtk_tooltip_set_text (tooltip, deadbeef->pl_find_meta (it, ":URI")); + deadbeef->pl_item_unref (it); return TRUE; } return FALSE; |