summaryrefslogtreecommitdiff
path: root/caja
diff options
context:
space:
mode:
Diffstat (limited to 'caja')
-rw-r--r--caja/caja-engrampa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/caja/caja-engrampa.c b/caja/caja-engrampa.c
index 22de231..0955201 100644
--- a/caja/caja-engrampa.c
+++ b/caja/caja-engrampa.c
@@ -291,7 +291,7 @@ caja_fr_get_file_items (CajaMenuProvider *provider,
return NULL;
if (unsupported_scheme ((CajaFileInfo *) files->data))
- return NULL;
+ return NULL;
for (scan = files; scan; scan = scan->next) {
CajaFileInfo *file = scan->data;
@@ -313,6 +313,7 @@ caja_fr_get_file_items (CajaMenuProvider *provider,
parent = caja_file_info_get_parent_info (file);
can_write = caja_file_info_can_write (parent);
+ g_object_unref (parent);
}
}