changeset 1442:5b44358151f8 trunk

[svn] - more sanity
author nenolod
date Fri, 28 Jul 2006 01:07:14 -0700
parents ed80e946f30b
children 2f714bee0645
files ChangeLog libaudacious/beepctrl.c
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jul 28 01:05:21 2006 -0700
+++ b/ChangeLog	Fri Jul 28 01:07:14 2006 -0700
@@ -1,3 +1,12 @@
+2006-07-28 08:05:21 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1796]
+  - ok, don't eat up all the system ram (I forgot to g_free())
+  
+
+  Changes:        Modified:
+  +11 -3          trunk/libaudacious/beepctrl.c  
+
+
 2006-07-28 07:49:14 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1794]
   - allow environment variable AUDTOOL_REMOTE_URI to influence where the client library accesses the audacious session
--- a/libaudacious/beepctrl.c	Fri Jul 28 01:05:21 2006 -0700
+++ b/libaudacious/beepctrl.c	Fri Jul 28 01:07:14 2006 -0700
@@ -318,12 +318,12 @@
 
     bmp_cfg_db_get_string(db, NULL, "session_uri_base", &value);
 
+    bmp_cfg_db_close(db);
+
     if (value == NULL)
         return g_strdup_printf("unix://localhost/%s/%s_%s.%d", g_get_tmp_dir(),
 		CTRLSOCKET_NAME, g_get_user_name(), session);
 
-    bmp_cfg_db_close(db);
-
     return value;
 }