changeset 2748:fe0d1cff2cd0

memory leak cleanups.
author William Pitcock <nenolod@atheme.org>
date Mon, 30 Jun 2008 23:11:47 -0500
parents ead11a126bdd
children 290357060cdb
files src/psf2/plugin.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/psf2/plugin.c	Mon Jun 30 23:05:32 2008 -0500
+++ b/src/psf2/plugin.c	Mon Jun 30 23:11:47 2008 -0500
@@ -117,7 +117,7 @@
 		psf2_execute(data);
 	}	
 
-	free(buffer);
+	g_free(buffer);
 	g_free(path);
 }
 
@@ -209,6 +209,7 @@
 	aud_tuple_associate_string(t, -1, "console", "PlayStation 2");
 
 	free(c);
+	g_free(buf);
 
 	return t;
 }