summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-15 12:35:17 -0400
committerJakob Kaivo <jkk@ung.org>2019-03-15 12:35:17 -0400
commit7c185899b730fb651d82740ea3c2464d31aff66f (patch)
treea3b4aaf8217b6c0182d3291e61e1c173b638b08c /parse.c
parentc089da79e35b4db1b203868765d6aa400d08620d (diff)
remove double free
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 91ce97f..7763d26 100644
--- a/parse.c
+++ b/parse.c
@@ -152,7 +152,6 @@ int sh_simple_command(struct simple_command *c)
fprintf(stderr, "sh: %s: %s\n", path, strerror(errno));
exit(1);
}
- free(path);
if (pid < 0) {
perror("sh");