- Fix memleak (#235696)

This commit is contained in:
Alexander Larsson 2007-04-11 15:07:10 +00:00
parent 6c6747ba12
commit aa50d77af0
2 changed files with 19 additions and 1 deletions

View File

@ -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

View File

@ -19,7 +19,7 @@
Name: nautilus Name: nautilus
Summary: Nautilus is a file manager for GNOME Summary: Nautilus is a file manager for GNOME
Version: 2.18.1 Version: 2.18.1
Release: 1%{?dist} Release: 2%{?dist}
License: GPL License: GPL
Group: User Interface/Desktops Group: User Interface/Desktops
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.17/%{name}-%{version}.tar.bz2 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 Patch7: nautilus-xdg-user-dirs.patch
#backport from svn
Patch8: nautilus-2.18.0.1-file-and-directory-list-leak.patch
%description %description
Nautilus integrates access to files, applications, media, Nautilus integrates access to files, applications, media,
Internet-based resources and the Web. Nautilus delivers a dynamic and Internet-based resources and the Web. Nautilus delivers a dynamic and
@ -115,6 +118,7 @@ for writing nautilus extensions.
%patch5 -p1 -b .selinux %patch5 -p1 -b .selinux
%patch6 -p1 -b .dynamic-search %patch6 -p1 -b .dynamic-search
%patch7 -p0 -b .xdg-user-dirs %patch7 -p0 -b .xdg-user-dirs
%patch8 -p1 -b .xdg-user-dirs
%build %build
@ -221,6 +225,9 @@ fi
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Wed Apr 11 2007 Alexander Larsson <alexl@redhat.com> - 2.18.1-2
- Fix memleak (#235696)
* Wed Apr 11 2007 Alexander Larsson <alexl@redhat.com> - 2.18.1-1 * Wed Apr 11 2007 Alexander Larsson <alexl@redhat.com> - 2.18.1-1
- Update to 2.18.1 - Update to 2.18.1