Fix exec-script & fix memory leak in exec_args_validate

This commit is contained in:
2022-04-14 15:23:38 -04:00
parent 50b9201be3
commit 23aee14c07
5 changed files with 26 additions and 13 deletions

View File

@@ -81,6 +81,11 @@ void web_args_destroy(web_args_t *args) {
}
void exec_args_destroy(exec_args_t *args) {
if (args->index_path != NULL) {
free(args->index_path);
}
free(args);
}