aboutsummaryrefslogtreecommitdiff
path: root/src/output/shout_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-25 18:47:21 +0100
committerMax Kellermann <max@duempel.org>2009-01-25 18:47:21 +0100
commita45922cd66cf8a7a03905c020e50ab01dc05cfa9 (patch)
tree2171f4d74886b9d049eafe14dc2b1ce72036c912 /src/output/shout_plugin.c
parent7960ad32fcfb1e17c24d3b26e53a1cdbc5ca0028 (diff)
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.
Diffstat (limited to 'src/output/shout_plugin.c')
-rw-r--r--src/output/shout_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c
index 2217bc56..3fc37225 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) { \