aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-08-30 22:02:55 +0200
committerMax Kellermann <max@duempel.org>2011-08-30 22:02:55 +0200
commitbd67e986f4706a9eb395e103438c94d58634f7a8 (patch)
treebe85a76c06f23bb64b342fdd4d3c976118fbf016
parente587518d85ebc618d8c0a6eb258918f4a19a957f (diff)
downloadmpd-bd67e986f4706a9eb395e103438c94d58634f7a8.tar.gz
mpd-bd67e986f4706a9eb395e103438c94d58634f7a8.tar.xz
mpd-bd67e986f4706a9eb395e103438c94d58634f7a8.zip
output/raop: free the raop_data object in finish()
-rw-r--r--src/output/raop_output_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/output/raop_output_plugin.c b/src/output/raop_output_plugin.c
index 15438aa00..3b5e319c4 100644
--- a/src/output/raop_output_plugin.c
+++ b/src/output/raop_output_plugin.c
@@ -668,6 +668,7 @@ raop_output_finish(void *data)
struct raop_data *rd = data;
raopcl_close(rd);
g_mutex_free(rd->control_mutex);
+ g_free(rd);
}
#define RAOP_VOLUME_MIN -30