summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-09-20 18:03:40 -0400
committerDan Winship <danw@gnome.org>2014-09-27 11:33:45 -0400
commit432010880cd027abed16b730ba25ad34002c2823 (patch)
tree302e5e0cbe66dfa88c485af50e12d40ba750f651
parent94edf1a1c8496dba2840647acad532ba0dc49796 (diff)
downloadnetwork-manager-applet-432010880cd027abed16b730ba25ad34002c2823.tar.gz
connection-editor: fix a double free (bgo #736836)
page_initialized() was freeing the error it was passed, but so was its caller. (cherry picked from commit 9fae902c00f39379f22335187ca3f62ccb855df3)
-rw-r--r--src/connection-editor/nm-connection-editor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c
index b3a3772f..21fa9ec9 100644
--- a/src/connection-editor/nm-connection-editor.c
+++ b/src/connection-editor/nm-connection-editor.c
@@ -571,7 +571,6 @@ page_initialized (CEPage *page, GError *error, gpointer user_data)
nm_connection_editor_error (editor->parent_window,
_("Error initializing editor"),
"%s", error->message);
- g_error_free (error);
g_signal_emit (editor, editor_signals[EDITOR_DONE], 0, GTK_RESPONSE_NONE);
return;
}