From 2cfb004ea2b5d04c6ba094344892e8e8dfb76dbe Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 4 Aug 2003 06:00:06 +0000 Subject: Fix a crash on logout with malloc debugging enabled. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1012 df743ca5-7f9a-e211-a948-0013205c9059 --- x11-fm/nautilus/Makefile | 1 + .../patch-libnautilus-private_nautilus-desktop-directory.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 x11-fm/nautilus/files/patch-libnautilus-private_nautilus-desktop-directory.c (limited to 'x11-fm/nautilus') diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile index 02779fbe9..ae1f54f79 100644 --- a/x11-fm/nautilus/Makefile +++ b/x11-fm/nautilus/Makefile @@ -7,6 +7,7 @@ PORTNAME= nautilus2 PORTVERSION= 2.3.7 +PORTREVISION= 1 CATEGORIES= x11-fm gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.3 diff --git a/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-desktop-directory.c b/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-desktop-directory.c new file mode 100644 index 000000000..c21a50b92 --- /dev/null +++ b/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-desktop-directory.c @@ -0,0 +1,14 @@ +--- libnautilus-private/nautilus-desktop-directory.c.orig Mon Aug 4 01:14:37 2003 ++++ libnautilus-private/nautilus-desktop-directory.c Mon Aug 4 01:14:54 2003 +@@ -409,10 +409,10 @@ + desktop = NAUTILUS_DESKTOP_DIRECTORY (object); + + nautilus_directory_unref (desktop->details->real_directory); +- g_free (desktop->details); + + g_hash_table_destroy (desktop->details->callbacks); + g_hash_table_destroy (desktop->details->monitors); ++ g_free (desktop->details); + + G_OBJECT_CLASS (parent_class)->finalize (object); + } -- cgit v1.2.3