diff options
-rw-r--r-- | gst-libs/gst/tag/gstvorbistag.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/tag/gstvorbistag.c b/gst-libs/gst/tag/gstvorbistag.c index e3c24529c..7ec4fb26c 100644 --- a/gst-libs/gst/tag/gstvorbistag.c +++ b/gst-libs/gst/tag/gstvorbistag.c @@ -489,6 +489,10 @@ gst_tag_list_from_vorbiscomment (const guint8 * data, gsize size, return list; error: + if (vendor_string && *vendor_string) { + g_free (*vendor_string); + *vendor_string = NULL; + } gst_tag_list_unref (list); return NULL; #undef ADVANCE |