commit f1a63f1ca8a7e88f9bef55013033b1b9391108e0
parent 1a8ce93d6f70af56a19d032dc3832a958bad301f
Author: Martin Mitas <mity@morous.org>
Date: Sun, 1 Jan 2017 16:18:42 +0100
md_process_table_row: Fix possible errorneous free() on an error path.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/md4c/md4c.c b/md4c/md4c.c
@@ -3690,7 +3690,7 @@ md_process_table_row(MD_CTX* ctx, MD_BLOCKTYPE cell_type, OFF beg, OFF end,
const MD_ALIGN* align, int n_align)
{
MD_LINE line = { beg, end };
- OFF* pipe_offs;
+ OFF* pipe_offs = NULL;
int i, j, n;
int ret = 0;