about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-10-25 14:06:03 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-10-25 14:06:03 +0200
commitf186eb94da785f1eec33056837201c99e7e4f0d2 (patch)
tree8c5104613dff4da58e49b0d3ad13cb6bea625533 /src
parent6a88af6bc68de3ca742b9d5c32714e4e93dc59f6 (diff)
downloadprofani-tty-f186eb94da785f1eec33056837201c99e7e4f0d2.tar.gz
Remove not neede free
It's in the def == NULL case. So will always be noop.
Diffstat (limited to 'src')
-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;
         }