Mercurial > audlegacy
changeset 1611:694d3edcd208 trunk
[svn] - fix for memory leak.
author | yaz |
---|---|
date | Wed, 30 Aug 2006 02:44:09 -0700 |
parents | 5119f2123bcf |
children | 477162d8365d |
files | ChangeLog audacious/ui_fileinfo.c |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <yaz@cc.rim.or.jp> + 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 <yaz@cc.rim.or.jp> revision [2149] - comment out some gtk_window_set_transient_for() which hide mainwin unexpectedly.
--- 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; } }