From 0e70fc5844fa9e041e25b51e1a2282390c92723a Mon Sep 17 00:00:00 2001 From: PatR Date: Wed, 27 Dec 2023 05:48:28 -0800 Subject: [PATCH] unfix unnaming types of objects The prior commit makes the code clearer so I'm not reverting it, but the old code was not accessing freed memory so I am removing the fixes entry. The static analyzer's complaint is bogus. Freeing the memory that held a user-assigned type name did not affect whether that pointer could be tested for being Null. Its stale value wasn't being dereferenced. --- doc/fixes3-7-0.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 33ef626b1..f6e5969a9 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1338,8 +1338,6 @@ amulet of unchanging cannot be polymorphed wishing for a "lit candle" provided one, but the feedback as it was added into invent was "partly used candle (lit)" because of how 'lit' timer works don't fall off steed because of Fumbling if saddle is cursed -using to remove an existing name given to a type of object was - accessing freed memory Fixes to 3.7.0-x General Problems Exposed Via git Repository