uridecodebin3: Fix GList leak
https://bugzilla.gnome.org/show_bug.cgi?id=795937
This commit is contained in:
parent
12694200d5
commit
7e724bddf3
@ -576,7 +576,7 @@ db_pad_removed_cb (GstElement * element, GstPad * pad, GstURIDecodeBin3 * dec)
|
|||||||
|
|
||||||
if (cand->target_pad == pad) {
|
if (cand->target_pad == pad) {
|
||||||
output = cand;
|
output = cand;
|
||||||
dec->output_pads = g_list_remove_link (dec->output_pads, tmp);
|
dec->output_pads = g_list_delete_link (dec->output_pads, tmp);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user