]> granicus.if.org Git - nethack/commitdiff
check for NULL Lua_State prior to lua_close()
authornhmall <nhmall@nethack.org>
Thu, 21 Oct 2021 17:34:21 +0000 (13:34 -0400)
committernhmall <nhmall@nethack.org>
Thu, 21 Oct 2021 17:34:21 +0000 (13:34 -0400)
fixes #616

doc/fixes37.0

index 35d1952c5ec4eba300a6dd7b6e1a785b311ed57e..0e40ac4acf447bfcb6c3cb1adb520367ae0289c2 100644 (file)
@@ -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