From a222c4879cd7104bcd51011bc13d4a76ac3d7a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Mon, 18 Jul 2011 15:58:02 +0200 Subject: output/shout: fix a memory leak --- src/output/shout_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output') diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c index d808f48c6..ec5fca3d9 100644 --- a/src/output/shout_plugin.c +++ b/src/output/shout_plugin.c @@ -281,7 +281,7 @@ my_shout_init_driver(const struct audio_format *audio_format, if (value != NULL && shout_set_url(sd->shout_conn, value)) { g_set_error(error, shout_output_quark(), 0, "%s", shout_get_error(sd->shout_conn)); - return NULL; + goto failure; } { -- cgit v1.2.3