From 4b1b59867675282ebfb362ea0ff4a50919623b95 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 17 Jul 2011 14:15:11 +0000 Subject: Fix lost allocation. --- eqn.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'eqn.c') diff --git a/eqn.c b/eqn.c index 43b30c9c..d38fa873 100644 --- a/eqn.c +++ b/eqn.c @@ -1,4 +1,4 @@ -/* $Id: eqn.c,v 1.9 2011/07/17 14:11:25 kristaps Exp $ */ +/* $Id: eqn.c,v 1.10 2011/07/17 14:15:11 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -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); -- cgit v1.2.3-56-ge451