mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-16 04:54:12 +00:00
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.
This commit is contained in:
parent
b1c1a6fd12
commit
63eb14e5dd
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-01-18 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_create):
|
||||
Fix memory leak spotted by the unit test.
|
||||
|
||||
2008-01-18 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* tests/check/Makefile.am:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue