Commit ebbae798 authored by Ronald S. Bultje's avatar Ronald S. Bultje

Oops, some pretty bad memleaks

Original commit message from CVS:
Oops, some pretty bad memleaks
parent 199e7f14
......@@ -482,6 +482,7 @@ gst_ffmpegenc_chain_audio (GstPad *pad,
g_warning("ffenc_%s: failed to encode buffer",
gst_buffer_unref (inbuf);
gst_buffer_unref (subbuf);
......@@ -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);
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