aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2011-07-18 15:58:02 +0200
committerMax Kellermann <max@duempel.org>2011-07-19 00:24:48 +0200
commita222c4879cd7104bcd51011bc13d4a76ac3d7a96 (patch)
treede33d461e558edd1d6606afdb107ec4c50a1e1b3
parenteb2f413cf030a8c9ed51d8dc081e51e4afd287fb (diff)
downloadmpd-a222c4879cd7104bcd51011bc13d4a76ac3d7a96.tar.gz
mpd-a222c4879cd7104bcd51011bc13d4a76ac3d7a96.tar.xz
mpd-a222c4879cd7104bcd51011bc13d4a76ac3d7a96.zip
output/shout: fix a memory leak
-rw-r--r--src/output/shout_plugin.c2
1 files changed, 1 insertions, 1 deletions
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;
}
{