changeset 1446:7610ab1233a7 trunk

[svn] - be more paranoid about NULL pointers
author nenolod
date Fri, 28 Jul 2006 02:19:18 -0700
parents cdb339ef1b1a
children 7ca5bef8d9ee
files ChangeLog libaudacious/configdb_gconf.c
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jul 28 01:35:52 2006 -0700
+++ b/ChangeLog	Fri Jul 28 02:19:18 2006 -0700
@@ -1,3 +1,12 @@
+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
+  
+
+  Changes:        Modified:
+  +1 -1           trunk/audacious/controlsocket.c  
+
+
 2006-07-28 08:31:44 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1802]
   - libaudacious/beepctrl.c: optimise further and be more paranoid about leaks
--- a/libaudacious/configdb_gconf.c	Fri Jul 28 01:35:52 2006 -0700
+++ b/libaudacious/configdb_gconf.c	Fri Jul 28 02:19:18 2006 -0700
@@ -42,6 +42,8 @@
 void
 bmp_cfg_db_close(ConfigDb * db)
 {
+    g_return_if_fail(db != NULL);
+
     g_object_unref(db->client);
     g_free(db);
 }