about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/command/cmd_funcs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index b0f578d6..ad9a2fb8 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -390,7 +390,6 @@ cmd_connect(ProfWin *window, const char *const command, gchar **args)
             cons_show("Using default account %s.", user);
         } else {
             cons_show("No default account.");
-            g_free(def);
             options_destroy(options);
             return TRUE;
         }