From 6e91fab5136433c1c2dc2f84304b848f078e97e4 Mon Sep 17 00:00:00 2001 From: Nathan Straz Date: Fri, 6 Sep 2013 11:30:13 -0400 Subject: Don't bother freeing remuser before we exit If the user is specified as part of the host, we don't need to free it and if it was a separate option, it will get freed when the process ends --- qarsh.c | 1 - 1 file changed, 1 deletion(-) diff --git a/qarsh.c b/qarsh.c index a3fa325..b5c6e58 100644 --- a/qarsh.c +++ b/qarsh.c @@ -503,7 +503,6 @@ again: close(qarsh_fd); hbeat_free(qarsh_hb); free(args); - free(remuser); /* If the remote cmd was killed, we need to be killed too */ if (WIFSIGNALED(ret)) { reset_signals(); -- cgit