summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/connection-editor/connection-helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection-editor/connection-helpers.c b/src/connection-editor/connection-helpers.c
index bba4d92c..0b078eba 100644
--- a/src/connection-editor/connection-helpers.c
+++ b/src/connection-editor/connection-helpers.c
@@ -223,8 +223,8 @@ import_vpn_from_file_cb (GtkWidget *dialog, gint response, gpointer user_data)
{
gs_free char *filename = NULL;
ImportVpnInfo *info = (ImportVpnInfo *) user_data;
- NMConnection *connection = NULL;
- GError *error = NULL;
+ gs_unref_object NMConnection *connection = NULL;
+ gs_free_error GError *error = NULL;
gboolean canceled = TRUE;
if (response != GTK_RESPONSE_ACCEPT)