aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 8028c4f..1978409 100644
--- a/src/main.c
+++ b/src/main.c
@@ -135,10 +135,10 @@ int main (int argc, char *argv[]) {
EXIT:
for (int i = 0; i < ccmds_len; i++)
compile_cmd_free (ccmds[i]);
- if (excmd) free (excmd);
- if (ccmds) free (ccmds);
- if (tmpdir) free (tmpdir);
- if (cmd) free (cmd);
- if (compile_file) free (compile_file);
+ free (excmd);
+ free (ccmds);
+ free (tmpdir);
+ free (cmd);
+ free (compile_file);
exit(errno % 255);
}