Commit 84db6c61 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

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.
parent 1fc821ba
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment