From ae515a2b1554200bcc480f6f49b8a95b2c2dfac8 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Tue, 5 Feb 2019 17:39:24 +1100 Subject: [PATCH] Minor simplification to remove one #ifdef/#endif pair --- source/misc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/misc.c b/source/misc.c index 827404e..20edf04 100644 --- a/source/misc.c +++ b/source/misc.c @@ -3806,13 +3806,12 @@ char *newusername = NULL; fprintf(outfile,"%s", newusername); #endif fclose(outfile); + new_free(&p); + new_free(&q); #endif strlcpy(username, newusername, sizeof username); if (subargs && *subargs) strlcpy(realname, subargs, sizeof realname); -#ifdef IDENT_FAKE - new_free(&p); new_free(&q); -#endif reconnect_cmd(NULL, newusername, NULL, NULL); } else