From a45922cd66cf8a7a03905c020e50ab01dc05cfa9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 25 Jan 2009 18:47:21 +0100 Subject: use g_free() instead of free() On some platforms, g_free() must be used for memory allocated by GLib. This patch intends to correct a lot of occurrences, but is probably not complete. --- src/output/shout_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output/shout_plugin.c') diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c index 2217bc56e..3fc372250 100644 --- a/src/output/shout_plugin.c +++ b/src/output/shout_plugin.c @@ -81,7 +81,7 @@ static void free_shout_data(struct shout_data *sd) if (sd->timer) timer_free(sd->timer); - free(sd); + g_free(sd); } #define check_block_param(name) { \ -- cgit v1.2.3