mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
shout2: Fix leak on error in start
This commit is contained in:
parent
464ada3f29
commit
bac8c00b85
1 changed files with 2 additions and 0 deletions
|
@ -522,6 +522,8 @@ set_failed:
|
|||
{
|
||||
GST_ELEMENT_ERROR (sink, LIBRARY, SETTINGS, (NULL),
|
||||
("Error setting %s: %s", cur_prop, shout_get_error (sink->conn)));
|
||||
shout_free (sink->conn);
|
||||
sink->conn = NULL;
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue