summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Camp <dave@ximian.com>2003-08-04 05:52:15 +0000
committerDave Camp <campd@src.gnome.org>2003-08-04 05:52:15 +0000
commit5c159529f6ff9337bee8da01611593c6b6d632fc (patch)
treeccfb412b39c840e4c603555a4eba802917b05408
parentdcbbbb2200de8bb1470247aad48ac480e79f0045 (diff)
downloadnautilus-5c159529f6ff9337bee8da01611593c6b6d632fc.tar.gz
Free the details after its members. Patch from Joe Marcus Clarke
2003-08-04 Dave Camp <dave@ximian.com> * libnautilus-private/nautilus-desktop-directory.c (desktop_finalize): Free the details after its members. Patch from Joe Marcus Clarke <marcus@freeBSD.org>
-rw-r--r--ChangeLog6
-rw-r--r--libnautilus-private/nautilus-desktop-directory.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 91161d5b7..1c0b9f862 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-08-04 Dave Camp <dave@ximian.com>
+ * libnautilus-private/nautilus-desktop-directory.c
+ (desktop_finalize): Free the details after its members. Patch
+ from Joe Marcus Clarke <marcus@freeBSD.org>
+
+2003-08-04 Dave Camp <dave@ximian.com>
+
* libnautilus-private/nautilus-file-operations.c:
(handle_new_folder_vfs_error): Use the parent_view's
toplevel for the dialog rather than the view itself.
diff --git a/libnautilus-private/nautilus-desktop-directory.c b/libnautilus-private/nautilus-desktop-directory.c
index 94d8e624c..6f484fcd0 100644
--- a/libnautilus-private/nautilus-desktop-directory.c
+++ b/libnautilus-private/nautilus-desktop-directory.c
@@ -409,10 +409,10 @@ desktop_finalize (GObject *object)
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);
}