aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/soup_input_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-16 21:12:46 +0200
committerMax Kellermann <max@duempel.org>2011-09-16 21:13:25 +0200
commit6f655eb9b90e0855112038c0779eb61194cb7ef6 (patch)
tree0b66b721d1fd453cee233b9170a5fe7aaca65106 /src/input/soup_input_plugin.c
parent65dfd90141e51d896e0988fe3c6afd3d3f9d7460 (diff)
downloadmpd-6f655eb9b90e0855112038c0779eb61194cb7ef6.tar.gz
mpd-6f655eb9b90e0855112038c0779eb61194cb7ef6.tar.xz
mpd-6f655eb9b90e0855112038c0779eb61194cb7ef6.zip
input/{soup,curl}: free unused postponed_error
Fix memory leak.
Diffstat (limited to '')
-rw-r--r--src/input/soup_input_plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/soup_input_plugin.c b/src/input/soup_input_plugin.c
index 12ede3a29..ff73da559 100644
--- a/src/input/soup_input_plugin.c
+++ b/src/input/soup_input_plugin.c
@@ -313,6 +313,9 @@ input_soup_close(struct input_stream *is)
soup_buffer_free(buffer);
g_queue_free(s->buffers);
+ if (s->postponed_error != NULL)
+ g_error_free(s->postponed_error);
+
input_stream_deinit(&s->base);
g_free(s);
}