diff options
author | Max Kellermann <max@duempel.org> | 2009-01-25 18:47:21 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-25 18:47:21 +0100 |
commit | a45922cd66cf8a7a03905c020e50ab01dc05cfa9 (patch) | |
tree | 2171f4d74886b9d049eafe14dc2b1ce72036c912 /src/output/mvp_plugin.c | |
parent | 7960ad32fcfb1e17c24d3b26e53a1cdbc5ca0028 (diff) | |
download | mpd-a45922cd66cf8a7a03905c020e50ab01dc05cfa9.tar.gz mpd-a45922cd66cf8a7a03905c020e50ab01dc05cfa9.tar.xz mpd-a45922cd66cf8a7a03905c020e50ab01dc05cfa9.zip |
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/mvp_plugin.c')
-rw-r--r-- | src/output/mvp_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/mvp_plugin.c b/src/output/mvp_plugin.c index cf63faf08..7eccb23a2 100644 --- a/src/output/mvp_plugin.c +++ b/src/output/mvp_plugin.c @@ -124,7 +124,7 @@ static void *mvp_initDriver(G_GNUC_UNUSED struct audio_output *audio_output, static void mvp_finishDriver(void *data) { MvpData *md = data; - free(md); + g_free(md); } static int mvp_setPcmParams(MvpData * md, unsigned long rate, int channels, |