projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests/gst-launch: Fix sample memory leak
[platform/upstream/gstreamer.git]
/
tools
/
gst-launch.c
diff --git
a/tools/gst-launch.c
b/tools/gst-launch.c
index
839bd64
..
a522a5b
100644
(file)
--- a/
tools/gst-launch.c
+++ b/
tools/gst-launch.c
@@
-371,6
+371,7
@@
print_tag (const GstTagList * list, const gchar * tag, gpointer unused)
g_warning ("Couldn't fetch sample for %s tag", tag);
g_assert_not_reached ();
}
+ gst_sample_unref (sample);
} else if (gst_tag_get_type (tag) == GST_TYPE_DATE_TIME) {
GstDateTime *dt = NULL;