summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-17 14:15:11 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-17 14:15:11 +0000
commitb0faf44d9b2abdcb11a61ce7335667a2c134e0df (patch)
treebf3d91efee8a738cef89971d77da35ee7326ba08
parent222f86c4732bb5dc3df174b33f5bb7605f2fbed7 (diff)
downloadmandoc-b0faf44d9b2abdcb11a61ce7335667a2c134e0df.tar.gz
Fix lost allocation.
-rw-r--r--eqn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/eqn.c b/eqn.c
index 44a9c378..58962092 100644
--- a/eqn.c
+++ b/eqn.c
@@ -292,8 +292,6 @@ eqn_do_define(struct eqn_node *ep, int ln, int pos, const char **end)
memcpy(ep->defs[i].key, start, sz);
ep->defs[i].key[(int)sz] = '\0';
- ep->defs[i].val = NULL;
- ep->defs[i].valsz = 0;
}
start = eqn_nexttok(mp, ln, pos, end, &sz);