changeset 1500:188437eb996b trunk

[svn] - leak fix
author nenolod
date Fri, 04 Aug 2006 11:38:37 -0700
parents 959ebef04f70
children 8f3c0c773c92
files ChangeLog libaudacious/beepctrl.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Aug 04 02:46:05 2006 -0700
+++ b/ChangeLog	Fri Aug 04 11:38:37 2006 -0700
@@ -1,3 +1,12 @@
+2006-08-04 09:46:05 +0000  George Averill <nhjm449@gmail.com>
+  revision [1912]
+  - Don't show "(null)" information.
+  
+
+  Changes:        Modified:
+  +2 -2           trunk/Plugins/General/notify/notify.c  
+
+
 2006-08-04 08:52:07 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1910]
   - WTF
--- a/libaudacious/beepctrl.c	Fri Aug 04 02:46:05 2006 -0700
+++ b/libaudacious/beepctrl.c	Fri Aug 04 11:38:37 2006 -0700
@@ -359,6 +359,9 @@
     if (audacious_session_type == NULL)
         audacious_session_type = (gint *) AUDACIOUS_TYPE_UNIX;
 
+    /* memory leak! */
+    g_free(uri);
+
     return audacious_session_type;
 }