Commit 63c1f4aa authored by Havard Graff's avatar Havard Graff Committed by Sebastian Dröge

audioencoder: Plug buffer-leak

https://bugzilla.gnome.org/show_bug.cgi?id=773107
parent 409534f2
......@@ -789,6 +789,8 @@ gst_audio_encoder_finish_frame (GstAudioEncoder * enc, GstBuffer * buf,
ret = GST_FLOW_FLUSHING;
else
ret = GST_FLOW_NOT_NEGOTIATED;
if (buf)
gst_buffer_unref (buf);
goto exit;
}
}
......
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