[nautilus] Don't leak NautilusDirectory
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Don't leak NautilusDirectory
- Date: Tue, 8 Dec 2009 15:31:43 +0000 (UTC)
commit 2d61fcdf4987802441b7d9dab5364a28fb2dbd7c
Author: Alexander Larsson <alexl redhat com>
Date: Tue Dec 8 16:28:30 2009 +0100
Don't leak NautilusDirectory
libnautilus-private/nautilus-file.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index df16e1f..fdb1bdc 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -6635,6 +6635,8 @@ nautilus_file_get_volume_free_space (NautilusFile *file)
get_fs_free_cb,
directory); /* Inherits ref */
g_object_unref (location);
+ } else {
+ nautilus_directory_unref (directory);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]