From 25cc70359351830f4ae4022deb4e829e964117fe Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 7 Oct 2009 09:34:42 +0000 Subject: Minor fix and code rework. --- read.c | 1 + 1 file changed, 1 insertion(+) (limited to 'read.c') diff --git a/read.c b/read.c index 3a022d6c..aa27701d 100644 --- a/read.c +++ b/read.c @@ -1341,6 +1341,7 @@ do_undefine (char *name, enum variable_origin origin, struct ebuffer *ebuf) p[1] = '\0'; undefine_variable_global (name, p - name + 1, origin); + free (var); } /* Execute a `define' directive. -- cgit v1.2.1