[nautilus] undo: fix a double free in the Create operation strings func



commit cd497dd43fabc6b9aa679fd326bb0f16334dbd59
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Feb 8 12:42:10 2012 -0500

    undo: fix a double free in the Create operation strings func
    
    https://bugzilla.gnome.org/show_bug.cgi?id=669691

 .../nautilus-file-undo-operations.c                |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-undo-operations.c b/libnautilus-private/nautilus-file-undo-operations.c
index fc3dd22..9461fc1 100644
--- a/libnautilus-private/nautilus-file-undo-operations.c
+++ b/libnautilus-private/nautilus-file-undo-operations.c
@@ -653,7 +653,6 @@ create_strings_func (NautilusFileUndoInfo *info,
 		*redo_label = g_strdup (_("_Redo Create Folder"));
 	} else if (op_type == NAUTILUS_FILE_UNDO_OP_CREATE_FILE_FROM_TEMPLATE) {
 		*redo_description = g_strdup_printf (_("Create new file '%s' from template "), name);
-		g_free (name);
 
 		*undo_label = g_strdup (_("_Undo Create from Template"));
 		*redo_label = g_strdup (_("_Redo Create from Template"));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]