diff --git a/libarmbox/playback_gst.cpp b/libarmbox/playback_gst.cpp index e543146..1e2012a 100644 --- a/libarmbox/playback_gst.cpp +++ b/libarmbox/playback_gst.cpp @@ -449,7 +449,7 @@ cPlayback::~cPlayback() //FIXME: all deleting stuff is done in Close() pthread_mutex_lock (&mutex_tag_ist); if (m_stream_tags) - gst_tag_list_free(m_stream_tags); + gst_tag_list_unref(m_stream_tags); pthread_mutex_unlock (&mutex_tag_ist); }