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
@ -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…
x
Reference in New Issue
Block a user