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.
This commit is contained in:
Max Kellermann
2009-01-25 18:47:21 +01:00
parent 7960ad32fc
commit a45922cd66
18 changed files with 36 additions and 40 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ alsa_data_free(struct alsa_data *ad)
{
g_free(ad->device);
mixer_free(ad->mixer);
free(ad);
g_free(ad);
}
static void