diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-01-18 10:05:53 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-01-18 10:05:53 +0000 |
commit | 63eb14e5dd495d3544b25de4e373a34659649194 (patch) | |
tree | 6bc96e80b12e517a3180076530e8aeaa5ae40fc8 /gst/multifile | |
parent | b1c1a6fd12de77317bd272ec75f5bdaa0a92f493 (diff) | |
download | gst-plugins-bad-63eb14e5dd495d3544b25de4e373a34659649194.tar.gz gst-plugins-bad-63eb14e5dd495d3544b25de4e373a34659649194.tar.bz2 gst-plugins-bad-63eb14e5dd495d3544b25de4e373a34659649194.zip |
gst/multifile/gstmultifilesrc.c: Fix memory leak spotted by the unit test.
Original commit message from CVS:
* gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_create):
Fix memory leak spotted by the unit test.
Diffstat (limited to 'gst/multifile')
-rw-r--r-- | gst/multifile/gstmultifilesrc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/multifile/gstmultifilesrc.c b/gst/multifile/gstmultifilesrc.c index 35ded484..f2de1b86 100644 --- a/gst/multifile/gstmultifilesrc.c +++ b/gst/multifile/gstmultifilesrc.c @@ -283,6 +283,7 @@ gst_multi_file_src_create (GstPushSrc * src, GstBuffer ** buffer) if (multifilesrc->successful_read) { /* If we've read at least one buffer successfully, not finding the * next file is EOS. */ + g_free (filename); return GST_FLOW_UNEXPECTED; } else { goto handle_error; |