aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-07-14 18:12:54 +0200
committeraxtloss <axtlos@getcryst.al>2024-07-14 18:12:54 +0200
commitb95e05b65d69af3f23513c4af9e50c9af326b43f (patch)
tree35591be74ba91e4bcdbf04b3a8104245926a2d0b /src/main.c
parent5e75178b80b70a5fde777a1a0f6e30b6ab6e1f7c (diff)
downloadrunc-b95e05b65d69af3f23513c4af9e50c9af326b43f.tar.gz
runc-b95e05b65d69af3f23513c4af9e50c9af326b43f.tar.bz2
dont put multiple statmeents in one line
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);
}