diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-08 16:14:17 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-08 16:14:17 -0200 |
commit | 7918c6cf113a2e05cd5b952588a240c268ca01a2 (patch) | |
tree | c8607ec304140006b715deae82480cde48f370fe | |
parent | 826d70fcba11a46de74a316b76caf94eb5a5acc5 (diff) | |
download | lua-7918c6cf113a2e05cd5b952588a240c268ca01a2.tar.gz lua-7918c6cf113a2e05cd5b952588a240c268ca01a2.tar.bz2 lua-7918c6cf113a2e05cd5b952588a240c268ca01a2.zip |
small bug
-rw-r--r-- | func.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -42,6 +42,8 @@ void luaI_insertfunction (TFunc *f) | |||
42 | static void freefunc (TFunc *f) | 42 | static void freefunc (TFunc *f) |
43 | { | 43 | { |
44 | luaI_free (f->code); | 44 | luaI_free (f->code); |
45 | if (f->locvars) | ||
46 | luaI_free (f->locvars); | ||
45 | luaI_free (f); | 47 | luaI_free (f); |
46 | } | 48 | } |
47 | 49 | ||