mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
encodebin: fix list leak when requesting a new pad
https://bugzilla.gnome.org/show_bug.cgi?id=780769
This commit is contained in:
parent
69a10f67a5
commit
9c8e700b91
1 changed files with 1 additions and 0 deletions
|
@ -755,6 +755,7 @@ request_pad_for_stream (GstEncodeBin * encodebin, GType ptype,
|
|||
if (!sgroup)
|
||||
goto no_stream_group;
|
||||
|
||||
g_list_free (not_found_encoder_profs);
|
||||
return sgroup->ghostpad;
|
||||
|
||||
no_stream_profile:
|
||||
|
|
Loading…
Reference in a new issue