From: nhmall Date: Thu, 21 Oct 2021 17:34:21 +0000 (-0400) Subject: check for NULL Lua_State prior to lua_close() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=090f1fb029800b76742dc669b0c599ec46ee447d;p=nethack check for NULL Lua_State prior to lua_close() fixes #616 --- diff --git a/doc/fixes37.0 b/doc/fixes37.0 index 35d1952c5..0e40ac4ac 100644 --- a/doc/fixes37.0 +++ b/doc/fixes37.0 @@ -1314,6 +1314,7 @@ MAX_RADIUS defines the outer bound of the radius table, so leave it at 15 (pr #613 by argrath) variable attknum was declared without initialization, and was used in find_roll_to_hit() (pr #615 by argrath) +check for NULL lua_State before calling lua_close() (pr #616 by argrath) Code Cleanup and Reorganization