diff --git a/tests/examples/seek/jsseek.c b/tests/examples/seek/jsseek.c index d3f88e0dd1..e110403512 100644 --- a/tests/examples/seek/jsseek.c +++ b/tests/examples/seek/jsseek.c @@ -1814,6 +1814,7 @@ update_streams (GstPipeline * pipeline) str = gst_tag_list_to_string (tags); g_print ("video %d: %s\n", i, str); g_free (str); + gst_tag_list_unref (tags); } /* find good name for the label */ name = g_strdup_printf ("video %d", i + 1); @@ -1831,6 +1832,7 @@ update_streams (GstPipeline * pipeline) str = gst_tag_list_to_string (tags); g_print ("audio %d: %s\n", i, str); g_free (str); + gst_tag_list_unref (tags); } /* find good name for the label */ name = g_strdup_printf ("audio %d", i + 1); @@ -1858,6 +1860,7 @@ update_streams (GstPipeline * pipeline) if (value && G_VALUE_HOLDS_STRING (value)) { name = g_strdup_printf ("text %s", g_value_get_string (value)); } + gst_tag_list_unref (tags); } /* find good name for the label if we didn't use a tag */ if (name == NULL)