Skip to content
Snippets Groups Projects
Commit ebbae798 authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

Oops, some pretty bad memleaks

Original commit message from CVS:
Oops, some pretty bad memleaks
parent 199e7f14
No related branches found
No related tags found
No related merge requests found
......@@ -482,6 +482,7 @@ gst_ffmpegenc_chain_audio (GstPad *pad,
g_warning("ffenc_%s: failed to encode buffer",
oclass->in_plugin->name);
gst_buffer_unref (inbuf);
gst_buffer_unref (subbuf);
return;
}
......@@ -491,6 +492,7 @@ gst_ffmpegenc_chain_audio (GstPad *pad,
gst_pad_push (ffmpegenc->srcpad, GST_DATA (outbuf));
in_size -= frame_size;
gst_buffer_unref (subbuf);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment