summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Straz <nstraz@redhat.com>2013-09-06 11:30:13 -0400
committerNathan Straz <nstraz@redhat.com>2013-09-11 17:51:40 -0400
commit6e91fab5136433c1c2dc2f84304b848f078e97e4 (patch)
tree72db5ea91da33ada8096b723b4d92a2934760de3
parent5f647daa5864bac25ca86b554deb2d0ceaa10c7c (diff)
downloadqarsh-6e91fab5136433c1c2dc2f84304b848f078e97e4.tar.gz
qarsh-6e91fab5136433c1c2dc2f84304b848f078e97e4.tar.xz
qarsh-6e91fab5136433c1c2dc2f84304b848f078e97e4.zip
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
-rw-r--r--qarsh.c1
1 files changed, 0 insertions, 1 deletions
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();