diff options
Diffstat (limited to 'eqn.c')
-rw-r--r-- | eqn.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: eqn.c,v 1.8 2011/07/17 14:08:49 kristaps Exp $ */ +/* $Id: eqn.c,v 1.9 2011/07/17 14:11:25 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -283,6 +283,7 @@ eqn_do_define(struct eqn_node *ep, int ln, int pos, const char **end) ep->defs = mandoc_realloc (ep->defs, ep->defsz * sizeof(struct eqn_def)); + ep->defs[i].key = ep->defs[i].val = NULL; } ep->defs[i].keysz = sz; |