diff options
author | Havard Graff <havard.graff@tandberg.com> | 2011-11-01 17:57:59 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-01-05 13:27:23 +0000 |
commit | 95be60de15801c8fec702672f9c1437298138e2f (patch) | |
tree | 7bdad3267b955abbc945004b4da81f246e164d97 /gst/audiotestsrc | |
parent | b11d516c46beaac194785b36ae0245c10f00c620 (diff) | |
download | gstreamer-plugins-base-95be60de15801c8fec702672f9c1437298138e2f.tar.gz |
Fix various unlikely, but still potential memoryleaks in error code paths
https://bugzilla.gnome.org/show_bug.cgi?id=667311
Diffstat (limited to 'gst/audiotestsrc')
-rw-r--r-- | gst/audiotestsrc/gstaudiotestsrc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/audiotestsrc/gstaudiotestsrc.c b/gst/audiotestsrc/gstaudiotestsrc.c index 4428ccefc..f0808c609 100644 --- a/gst/audiotestsrc/gstaudiotestsrc.c +++ b/gst/audiotestsrc/gstaudiotestsrc.c @@ -1166,6 +1166,8 @@ gst_audio_test_src_create (GstBaseSrc * basesrc, guint64 offset, if (eclass->send_event) eclass->send_event (GST_ELEMENT_CAST (basesrc), gst_event_new_tag (taglist)); + else + gst_tag_list_free (taglist); src->tags_pushed = TRUE; } |