Commit a52df384 authored by Håvard Graff's avatar Håvard Graff Committed by Sebastian Dröge

audioencoder: Plug buffer-leak

https://bugzilla.gnome.org/show_bug.cgi?id=773107
parent 13b31e77
......@@ -787,6 +787,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