From e46c16c46ad18d40f21b251bf8995387efa68796 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 30 Oct 2009 05:58:36 +0000 Subject: libmdoc and libman now using non-recoverable allocations (simpler code). --- mdoc_argv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdoc_argv.c') diff --git a/mdoc_argv.c b/mdoc_argv.c index d7f3ca34..726a3f3f 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -268,7 +268,7 @@ mdoc_argv(struct mdoc *m, int line, int tok, return(ARGV_ERROR); if (NULL == (arg = *v)) - arg = mandoc_calloc(1, sizeof(struct mdoc_arg)); + arg = *v = mandoc_calloc(1, sizeof(struct mdoc_arg)); arg->argc++; arg->argv = mandoc_realloc -- cgit