mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Fix a buffer leak
Original commit message from CVS: Fix a buffer leak
This commit is contained in:
parent
4aa99f88d8
commit
9a0d8226cc
1 changed files with 2 additions and 0 deletions
|
@ -344,6 +344,8 @@ gst_mad_output (void *data,
|
|||
}
|
||||
if (GST_PAD_CONNECTED (mad->srcpad))
|
||||
gst_pad_push (mad->srcpad, buffer);
|
||||
else
|
||||
gst_buffer_unref (buffer);
|
||||
|
||||
return MAD_FLOW_CONTINUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue