From 842b05311d083df0fe7c9f635148ec3dcf9e3adf Mon Sep 17 00:00:00 2001 From: pnenzi Date: Thu, 21 Aug 2003 12:38:55 +0000 Subject: [PATCH] Commented out the code that caused segfault when "plot v(x)" command is issued. Need additiona check. --- src/frontend/parse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontend/parse.c b/src/frontend/parse.c index 97af32125..62eaaa581 100644 --- a/src/frontend/parse.c +++ b/src/frontend/parse.c @@ -865,10 +865,10 @@ free_pnode(struct pnode *t) free_pnode(t->pn_next); tfree(t->pn_name); /* va: it is a copy() of original string, can be free'd */ /* va: tfree struct func, allocated within parser */ - if (t->pn_func!=NULL) { - tfree(t->pn_func->fu_name); /* va: name is a copy of original string */ - tfree(t->pn_func); /* va: t->pn_func->fu_func must not tfree'd */ - } +// if (t->pn_func!=NULL) { +// tfree(t->pn_func->fu_name); /* va: name is a copy of original string */ +// tfree(t->pn_func); /* va: t->pn_func->fu_func must not tfree'd */ +// } if (t->pn_value) vec_free(t->pn_value); /* patch by Stefan Jones */ tfree(t);