diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2011-07-18 14:35:04 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-07-18 22:04:06 +0200 |
commit | 296085ff23f3992f0f45fc0325c5bdbab953e114 (patch) | |
tree | 04ea0b68fe77c65f5bdbca4a3ef403424ec3f798 | |
parent | 36aa8ce3c9f34d41aa7fd94d90f23ba62f5caafb (diff) | |
download | mpd-296085ff23f3992f0f45fc0325c5bdbab953e114.tar.gz mpd-296085ff23f3992f0f45fc0325c5bdbab953e114.tar.xz mpd-296085ff23f3992f0f45fc0325c5bdbab953e114.zip |
output/httpd: add missing g_free in error path
-rw-r--r-- | src/output/httpd_output_plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/output/httpd_output_plugin.c b/src/output/httpd_output_plugin.c index 6650d89e3..b82dc0599 100644 --- a/src/output/httpd_output_plugin.c +++ b/src/output/httpd_output_plugin.c @@ -103,6 +103,7 @@ httpd_output_init(G_GNUC_UNUSED const struct audio_format *audio_format, if (encoder_plugin == NULL) { g_set_error(error, httpd_output_quark(), 0, "No such encoder: %s", encoder_name); + g_free(httpd); return NULL; } |