Commit a222c487 authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by Max Kellermann

output/shout: fix a memory leak

parent eb2f413c
...@@ -281,7 +281,7 @@ my_shout_init_driver(const struct audio_format *audio_format, ...@@ -281,7 +281,7 @@ my_shout_init_driver(const struct audio_format *audio_format,
if (value != NULL && shout_set_url(sd->shout_conn, value)) { if (value != NULL && shout_set_url(sd->shout_conn, value)) {
g_set_error(error, shout_output_quark(), 0, g_set_error(error, shout_output_quark(), 0,
"%s", shout_get_error(sd->shout_conn)); "%s", shout_get_error(sd->shout_conn));
return NULL; goto failure;
} }
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment