Mercurial > audlegacy
diff libaudacious/beepctrl.c @ 1500:188437eb996b trunk
[svn] - leak fix
| author | nenolod |
|---|---|
| date | Fri, 04 Aug 2006 11:38:37 -0700 |
| parents | 705d4c089fce |
| children | 8f3c0c773c92 |
line wrap: on
line diff
--- 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; }
