mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
basesrc: do not leak buffer pool in error case
https://bugzilla.gnome.org/show_bug.cgi?id=747321
This commit is contained in:
parent
1b955c08df
commit
f35ec14d33
1 changed files with 1 additions and 0 deletions
|
@ -3115,6 +3115,7 @@ config_failed:
|
|||
GST_ELEMENT_ERROR (basesrc, RESOURCE, SETTINGS,
|
||||
("Failed to configure the buffer pool"),
|
||||
("Configuration is most likely invalid, please report this issue."));
|
||||
gst_object_unref (pool);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue