diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-12-17 21:58:57 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-12-17 21:58:57 +0100 |
commit | 1daeedfa2ebdaffdd3f16367449b80cfc0e2a8c7 (patch) | |
tree | 9f851e12b91df8aebbb733fd13cc2dcc3aa350b3 /src | |
parent | 91737269d67a0403727faaa70521ff904dba695b (diff) | |
download | blogc-1daeedfa2ebdaffdd3f16367449b80cfc0e2a8c7.tar.gz blogc-1daeedfa2ebdaffdd3f16367449b80cfc0e2a8c7.tar.bz2 blogc-1daeedfa2ebdaffdd3f16367449b80cfc0e2a8c7.zip |
make: fixed memory leak
Diffstat (limited to 'src')
-rw-r--r-- | src/blogc-make/ctx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blogc-make/ctx.c b/src/blogc-make/ctx.c index fd71137..23227b2 100644 --- a/src/blogc-make/ctx.c +++ b/src/blogc-make/ctx.c @@ -207,6 +207,7 @@ bm_ctx_new(bm_ctx_t *base, const char *settings_file, const char *argv0, atom_template = bm_atom_deploy(settings, err); atom_template_tmp = true; if (*err != NULL) { + bm_settings_free(settings); return NULL; } } |