diff options
Diffstat (limited to 'lstring.c')
-rw-r--r-- | lstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -329,7 +329,7 @@ TString *luaS_newextlstr (lua_State *L, | |||
329 | if (!falloc) | 329 | if (!falloc) |
330 | f_pintern(L, &ne); /* just internalize string */ | 330 | f_pintern(L, &ne); /* just internalize string */ |
331 | else { | 331 | else { |
332 | int status = luaD_rawrunprotected(L, f_pintern, &ne); | 332 | TStatus status = luaD_rawrunprotected(L, f_pintern, &ne); |
333 | (*falloc)(ud, cast_voidp(s), len + 1, 0); /* free external string */ | 333 | (*falloc)(ud, cast_voidp(s), len + 1, 0); /* free external string */ |
334 | if (status != LUA_OK) /* memory error? */ | 334 | if (status != LUA_OK) /* memory error? */ |
335 | luaM_error(L); /* re-raise memory error */ | 335 | luaM_error(L); /* re-raise memory error */ |