From f186eb94da785f1eec33056837201c99e7e4f0d2 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 25 Oct 2019 14:06:03 +0200 Subject: [PATCH] Remove not neede free It's in the def == NULL case. So will always be noop. --- src/command/cmd_funcs.c | 1 - 1 file changed, 1 deletion(-) 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; }