changeset 4113:1e8498de4acc

Fixes memory leak in fileinfopopup_progress_cb() (Bugzilla #43)
author Jussi Judin <jjudin+audacious@iki.fi>
date Tue, 25 Dec 2007 01:09:27 -0600
parents 11f33d0e1c34
children 3218e86beed7
files src/audacious/ui_fileinfopopup.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_fileinfopopup.c	Tue Dec 25 01:07:22 2007 -0600
+++ b/src/audacious/ui_fileinfopopup.c	Tue Dec 25 01:09:27 2007 -0600
@@ -108,6 +108,7 @@
     current_file_u = playlist_get_filename(pl , pos);
     g_return_val_if_fail(current_file_u != NULL, FALSE);
     current_file = g_filename_from_uri(current_file_u, NULL, NULL);
+    g_free(current_file_u);
 
     if (playback_get_playing() && length != -1 &&
         current_file != NULL && tooltip_file != NULL &&