lua: fix typo in comment

This commit is contained in:
wm4 2020-02-06 20:48:58 +01:00
parent c99cc13526
commit 4bdf03779f
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ static int destroy_crap(lua_State *L)
// This can be used to free temporary C data structures correctly if Lua errors // This can be used to free temporary C data structures correctly if Lua errors
// happen. // happen.
// You can't free the talloc context directly; the Lua __gc handler does this. // You can't free the talloc context directly; the Lua __gc handler does this.
// In my cases, talloc_free_children(returnval) will be used to free attached // In many cases, talloc_free_children(returnval) will be used to free attached
// memory in advance when it's known not to be needed anymore (a minor // memory in advance when it's known not to be needed anymore (a minor
// optimization). Freeing it completely must be left to the Lua GC. // optimization). Freeing it completely must be left to the Lua GC.
static void *mp_lua_PITA(lua_State *L) static void *mp_lua_PITA(lua_State *L)