diff options
author | Alexander Larsson <alexl@redhat.com> | 2003-10-21 12:51:00 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2003-10-21 12:51:00 +0000 |
commit | a3cc34258a2e65e248552f289153154975a6b128 (patch) | |
tree | 83942c13b352d35e0d5e2c11e417b0ae9bdc6aef /libnautilus-private/nautilus-desktop-link.c | |
parent | 36a6eaa27443b3766a181b4ef4bd53f3fe975445 (diff) | |
download | nautilus-a3cc34258a2e65e248552f289153154975a6b128.tar.gz |
Fix leaks. Patch from Martin Wehner <martin.wehner@epost.de>
2003-10-21 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-desktop-link.c:
* libnautilus-private/nautilus-file-operations.c:
* libnautilus-private/nautilus-file.c:
* libnautilus-private/nautilus-icon-factory.c:
* src/nautilus-application.c:
* src/nautilus-bookmark-list.c:
Fix leaks.
Patch from Martin Wehner <martin.wehner@epost.de>
Diffstat (limited to 'libnautilus-private/nautilus-desktop-link.c')
-rw-r--r-- | libnautilus-private/nautilus-desktop-link.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-desktop-link.c b/libnautilus-private/nautilus-desktop-link.c index e1ec5635e..d48938530 100644 --- a/libnautilus-private/nautilus-desktop-link.c +++ b/libnautilus-private/nautilus-desktop-link.c @@ -367,6 +367,14 @@ desktop_link_finalize (GObject *object) link); } + if (link->details->type == NAUTILUS_DESKTOP_LINK_VOLUME) { + g_free (link->details->mount_path); + } + + g_free (link->details->filename); + g_free (link->details->display_name); + g_free (link->details->activation_uri); + g_free (link->details->icon); g_free (link->details); EEL_CALL_PARENT (G_OBJECT_CLASS, finalize, (object)); |