diff options
-rw-r--r-- | plugins/gtkui/trkproperties.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/gtkui/trkproperties.c b/plugins/gtkui/trkproperties.c index b63fa6ca..1439a09b 100644 --- a/plugins/gtkui/trkproperties.c +++ b/plugins/gtkui/trkproperties.c @@ -196,6 +196,10 @@ trkproperties_fill_metadata (void) { void show_track_properties_dlg (DB_playItem_t *it) { + if (track) { + deadbeef->pl_item_unref (track); + track = NULL; + } if (it) { deadbeef->pl_item_ref (it); } |