Commit e3f6b9f3 authored by Satya Prakash Gupta's avatar Satya Prakash Gupta Committed by Sebastian Dröge

alawdec: Fix Memory leak in error case

https://bugzilla.gnome.org/show_bug.cgi?id=785435
parent 6fa56524
......@@ -184,6 +184,7 @@ gst_alaw_dec_handle_frame (GstAudioDecoder * dec, GstBuffer * buffer)
error_failed_map_output_buffer:
gst_buffer_unref (outbuf);
gst_buffer_unmap (buffer, &inmap);
error_failed_map_input_buffer:
return GST_FLOW_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