mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
a52dec: Fix out buffer memory leak in error code path
https://bugzilla.gnome.org/show_bug.cgi?id=788119
This commit is contained in:
parent
9213d690a8
commit
83d7d2f67a
1 changed files with 1 additions and 0 deletions
|
@ -625,6 +625,7 @@ gst_a52dec_handle_frame (GstAudioDecoder * bdec, GstBuffer * buffer)
|
|||
("error decoding block %d", i), result);
|
||||
if (result != GST_FLOW_OK) {
|
||||
gst_buffer_unmap (outbuf, &map);
|
||||
gst_buffer_unref (outbuf);
|
||||
goto exit;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue