diff options
| -rw-r--r-- | lua.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.c,v 1.135 2005/01/10 17:21:10 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.136 2005/03/21 18:12:07 roberto Exp roberto $ |
| 3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -186,6 +186,7 @@ static int pushline (lua_State *L, int firstline) { | |||
| 186 | lua_pushfstring(L, "return %s", b+1); /* change it to `return' */ | 186 | lua_pushfstring(L, "return %s", b+1); /* change it to `return' */ |
| 187 | else | 187 | else |
| 188 | lua_pushstring(L, b); | 188 | lua_pushstring(L, b); |
| 189 | lua_freeline(L, b); | ||
| 189 | return 1; | 190 | return 1; |
| 190 | } | 191 | } |
| 191 | 192 | ||
