changeset 1447:7ca5bef8d9ee trunk

[svn] - fix invalid frees
author nenolod
date Fri, 28 Jul 2006 02:27:19 -0700
parents 7610ab1233a7
children 3b1c464cbbb0
files ChangeLog libaudacious/beepctrl.c
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jul 28 02:19:18 2006 -0700
+++ b/ChangeLog	Fri Jul 28 02:27:19 2006 -0700
@@ -1,3 +1,12 @@
+2006-07-28 09:19:18 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1806]
+  - be more paranoid about NULL pointers
+  
+
+  Changes:        Modified:
+  +2 -0           trunk/libaudacious/configdb_gconf.c  
+
+
 2006-07-28 08:35:52 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1804]
   - if cfg.session_uri_base = NULL (old/non-existant configs), then assume we want a default unix location
--- a/libaudacious/beepctrl.c	Fri Jul 28 02:19:18 2006 -0700
+++ b/libaudacious/beepctrl.c	Fri Jul 28 02:27:19 2006 -0700
@@ -374,7 +374,7 @@
         *port = iport + session;
     }
 
-    g_free(in);
+    g_free(tmp);
 }
 
 /* unix://localhost/tmp/audacious_nenolod.0 */
@@ -393,7 +393,7 @@
 
     *key = g_strdup(keybuf);
 
-    g_free(in);
+    g_free(tmp);
 }
 
 gint