lib/sl: gen_wrapper free 'n' before return

This commit is contained in:
Jeffrey Altman
2022-01-17 16:55:51 -05:00
parent 3a52803e19
commit 15ef584f59

View File

@@ -689,6 +689,7 @@ gen_wrapper(struct assignment *as)
cprint(1, "return 0;\n"); cprint(1, "return 0;\n");
cprint(0, "}\n"); cprint(0, "}\n");
cprint(0, "\n"); cprint(0, "\n");
free(n);
} }
char cname[PATH_MAX]; char cname[PATH_MAX];