[nautilus] Free return value from nautilus_file_get_metadata_list
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Free return value from nautilus_file_get_metadata_list
- Date: Tue, 8 Sep 2009 09:04:00 +0000 (UTC)
commit d442315c303db2def885a00d0abed257156185ce
Author: Alexander Larsson <alexl redhat com>
Date: Tue Sep 8 10:56:16 2009 +0200
Free return value from nautilus_file_get_metadata_list
src/file-manager/fm-list-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index 2a1c8b8..35f1f4e 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -1546,6 +1546,7 @@ get_visible_columns (FMListView *list_view)
g_ptr_array_add (res, NULL);
ret = (char **) g_ptr_array_free (res, FALSE);
+ g_list_free (visible_columns);
}
return ret ? ret : g_strdupv (default_visible_columns_auto_value);
@@ -1577,6 +1578,7 @@ get_column_order (FMListView *list_view)
g_ptr_array_add (res, NULL);
ret = (char **) g_ptr_array_free (res, FALSE);
+ g_list_free (column_order);
}
return ret ? ret : g_strdupv (default_visible_columns_auto_value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]