From aa50d77af08af6757102188a0b8cc537a785a845 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Apr 11 2007 15:07:10 +0000 Subject: - Fix memleak (#235696) --- diff --git a/nautilus-2.18.0.1-file-and-directory-list-leak.patch b/nautilus-2.18.0.1-file-and-directory-list-leak.patch new file mode 100644 index 0000000..fc66af8 --- /dev/null +++ b/nautilus-2.18.0.1-file-and-directory-list-leak.patch @@ -0,0 +1,11 @@ +--- nautilus-2.18.0.1/src/file-manager/fm-directory-view.c.file-and-directory-list-leak 2007-04-09 19:28:53.000000000 +0200 ++++ nautilus-2.18.0.1/src/file-manager/fm-directory-view.c 2007-04-09 19:29:04.000000000 +0200 +@@ -519,6 +519,8 @@ + for (l = list; l != NULL; l = l->next) { + file_and_directory_free (l->data); + } ++ ++ g_list_free (list); + } + + static gboolean diff --git a/nautilus.spec b/nautilus.spec index acb564e..066048d 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -19,7 +19,7 @@ Name: nautilus Summary: Nautilus is a file manager for GNOME Version: 2.18.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL Group: User Interface/Desktops Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.17/%{name}-%{version}.tar.bz2 @@ -82,6 +82,9 @@ Patch6: nautilus-2.16.2-dynamic-search.patch Patch7: nautilus-xdg-user-dirs.patch +#backport from svn +Patch8: nautilus-2.18.0.1-file-and-directory-list-leak.patch + %description Nautilus integrates access to files, applications, media, Internet-based resources and the Web. Nautilus delivers a dynamic and @@ -115,6 +118,7 @@ for writing nautilus extensions. %patch5 -p1 -b .selinux %patch6 -p1 -b .dynamic-search %patch7 -p0 -b .xdg-user-dirs +%patch8 -p1 -b .xdg-user-dirs %build @@ -221,6 +225,9 @@ fi %{_libdir}/*.so %changelog +* Wed Apr 11 2007 Alexander Larsson - 2.18.1-2 +- Fix memleak (#235696) + * Wed Apr 11 2007 Alexander Larsson - 2.18.1-1 - Update to 2.18.1