diff options
Diffstat (limited to 'src/blogc-make/ctx.c')
-rw-r--r-- | src/blogc-make/ctx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blogc-make/ctx.c b/src/blogc-make/ctx.c index ff825e1..fc59457 100644 --- a/src/blogc-make/ctx.c +++ b/src/blogc-make/ctx.c @@ -290,6 +290,8 @@ bm_ctx_free_internal(bm_ctx_t *ctx) void bm_ctx_free(bm_ctx_t *ctx) { + if (ctx == NULL) + return; bm_ctx_free_internal(ctx); free(ctx->blogc); free(ctx->blogc_runserver); |