Sun Jun 5 03:05:39 2005 John Ellis <johne@verizon.net>
authorJohn Ellis <johne@verizon.net>
Sun, 5 Jun 2005 07:09:12 +0000 (07:09 +0000)
committerJohn Ellis <johne@verizon.net>
Sun, 5 Jun 2005 07:09:12 +0000 (07:09 +0000)
        * 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. #####

ChangeLog
src/filelist.c

index bbe6630..b4a16f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 762cd9a..1219b88 100644 (file)
@@ -435,7 +435,7 @@ static void path_list_recursive_append(GList **list, GList *dirs)
                        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;