aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-12-17 21:58:57 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-12-17 21:58:57 +0100
commit1daeedfa2ebdaffdd3f16367449b80cfc0e2a8c7 (patch)
tree9f851e12b91df8aebbb733fd13cc2dcc3aa350b3 /src
parent91737269d67a0403727faaa70521ff904dba695b (diff)
downloadblogc-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.c1
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;
}
}