diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-17 14:15:11 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-17 14:15:11 +0000 |
commit | b0faf44d9b2abdcb11a61ce7335667a2c134e0df (patch) | |
tree | bf3d91efee8a738cef89971d77da35ee7326ba08 | |
parent | 222f86c4732bb5dc3df174b33f5bb7605f2fbed7 (diff) | |
download | mandoc-b0faf44d9b2abdcb11a61ce7335667a2c134e0df.tar.gz |
Fix lost allocation.
-rw-r--r-- | eqn.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |