changeset 52:a210a19f26da

Sun Jun 5 03:05:39 2005 John Ellis <johne@verizon.net> * filelist.c (path_list_recursive_append): Fix memory leak by using correct function to free path list. ##### Note: GQview CVS on sourceforge is not always up to date, please use ##### ##### an offical release when making enhancements and translation updates. #####
author gqview
date Sun, 05 Jun 2005 07:09:12 +0000
parents 276ea4c98d33
children 00843150f7c8
files ChangeLog src/filelist.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jun 05 02:48:54 2005 +0000
+++ b/ChangeLog	Sun Jun 05 07:09:12 2005 +0000
@@ -1,3 +1,8 @@
+Sun Jun  5 03:05:39 2005  John Ellis  <johne@verizon.net>
+
+	* filelist.c (path_list_recursive_append): Fix memory leak by using
+	correct function to free path list.
+
 Sat Jun  4 22:24:00 2005  John Ellis  <johne@verizon.net>
 
 	* exif.[ch]: Use glib provided data types and byte order functions for
--- a/src/filelist.c	Sun Jun 05 02:48:54 2005 +0000
+++ b/src/filelist.c	Sun Jun 05 07:09:12 2005 +0000
@@ -435,7 +435,7 @@
 			d = path_list_filter(d, TRUE);
 			d = path_list_sort(d);
 			path_list_recursive_append(list, d);
-			g_list_free(d);
+			path_list_free(d);
 			}
 
 		work = work->next;