summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nautilus-properties-window.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index e9e24264f..171cb626e 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -3748,7 +3748,6 @@ get_pending_key (GList *file_list)
GList *uris = NULL;
GList *l;
GString *key;
- char *ret;
uris = NULL;
for (l = file_list; l != NULL; l = l->next)
@@ -3766,10 +3765,7 @@ get_pending_key (GList *file_list)
g_list_free_full (uris, g_free);
- ret = key->str;
- g_string_free (key, FALSE);
-
- return ret;
+ return g_string_free (key, FALSE);
}
static StartupData *