From 06478d7c9c3ec033755c55a32ef80ee131ee3e42 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 10 Oct 2009 16:36:30 +0200 Subject: [PATCH] gidle: free all objects in mpd_glib_free() The mpd_parser object was not freed, and neither was the mpd_glib_source object. --- src/gidle.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gidle.c b/src/gidle.c index 6f149a5..1690167 100644 --- a/src/gidle.c +++ b/src/gidle.c @@ -92,6 +92,9 @@ mpd_glib_free(struct mpd_glib_source *source) g_source_remove(source->id); g_io_channel_unref(source->channel); + + mpd_parser_free(source->parser); + g_free(source); } static void -- 2.30.2