# HG changeset patch # User nenolod # Date 1154717666 25200 # Node ID 8f3c0c773c92d70dfa37223d829c397e72ef0ed5 # Parent 188437eb996b01813aba3f72cb3fb1435c233ac0 [svn] - more leak fixes diff -r 188437eb996b -r 8f3c0c773c92 ChangeLog --- a/ChangeLog Fri Aug 04 11:38:37 2006 -0700 +++ b/ChangeLog Fri Aug 04 11:54:26 2006 -0700 @@ -1,3 +1,12 @@ +2006-08-04 18:38:37 +0000 William Pitcock + revision [1914] + - leak fix + + + Changes: Modified: + +3 -0 trunk/libaudacious/beepctrl.c + + 2006-08-04 09:46:05 +0000 George Averill revision [1912] - Don't show "(null)" information. diff -r 188437eb996b -r 8f3c0c773c92 libaudacious/beepctrl.c --- a/libaudacious/beepctrl.c Fri Aug 04 11:38:37 2006 -0700 +++ b/libaudacious/beepctrl.c Fri Aug 04 11:54:26 2006 -0700 @@ -442,6 +442,9 @@ g_strlcpy(saddr.sun_path, path, 108); g_free(path); setreuid(stored_uid, euid); + + g_free(uri); + if (connect(fd, (struct sockaddr *) &saddr, sizeof(saddr)) != -1) return fd; } @@ -472,6 +475,8 @@ g_free(host); g_free(key); + g_free(uri); + if (connect(fd, (struct sockaddr *) &saddr, sizeof(saddr)) != -1) return fd; }