# HG changeset patch # User yaz # Date 1156931049 25200 # Node ID 694d3edcd2087525a6aa5818c789447a3c52e049 # Parent 5119f2123bcf2bd43c6fea32e80257fbad6ef859 [svn] - fix for memory leak. diff -r 5119f2123bcf -r 694d3edcd208 ChangeLog --- a/ChangeLog Wed Aug 30 02:37:40 2006 -0700 +++ b/ChangeLog Wed Aug 30 02:44:09 2006 -0700 @@ -1,3 +1,12 @@ +2006-08-30 09:37:40 +0000 Yoshiki Yazawa + revision [2151] + - same to r2149, one more window. :) + + + Changes: Modified: + +3 -2 trunk/audacious/ui_playlist.c + + 2006-08-30 06:15:43 +0000 Yoshiki Yazawa revision [2149] - comment out some gtk_window_set_transient_for() which hide mainwin unexpectedly. diff -r 5119f2123bcf -r 694d3edcd208 audacious/ui_fileinfo.c --- a/audacious/ui_fileinfo.c Wed Aug 30 02:37:40 2006 -0700 +++ b/audacious/ui_fileinfo.c Wed Aug 30 02:44:09 2006 -0700 @@ -425,6 +425,7 @@ /* We found a suitable file in the current * directory, use that. The string will be * freed by the caller */ + g_dir_close(d); return newpath; } else @@ -441,6 +442,7 @@ if(tmp) { g_free(newpath); + g_dir_close(d); return tmp; } }