Skip to content
Snippets Groups Projects
Commit b64861cc authored by Julian Cordes's avatar Julian Cordes
Browse files

added free to early returns...

parent 294f8bb4
No related branches found
No related tags found
No related merge requests found
......@@ -160,10 +160,12 @@ static void handle_ifdef(enum ifdef_os os, const char *s) {
if (os_name_length == -1) {
fprintf(stderr, "handle_ifdef with unknown os called.\n");
free(code);
exit(1);
}
if (ignore_ifdef(os)) {
free(code);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment