From ac021e94d6a8ec4acfd9e95945b82a86f895b54e Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 20 Dec 2020 00:57:20 +0100 Subject: [PATCH] putil: Ensure SimpleHashMap::_deleted_chain/_table are always initialized Good to be on the safe side. --- panda/src/putil/simpleHashMap.I | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/putil/simpleHashMap.I b/panda/src/putil/simpleHashMap.I index 545e0aa49c..62809b4ffe 100644 --- a/panda/src/putil/simpleHashMap.I +++ b/panda/src/putil/simpleHashMap.I @@ -31,6 +31,8 @@ SimpleHashMap(const Compare &comp) : template INLINE SimpleHashMap:: SimpleHashMap(const SimpleHashMap ©) : + _table(nullptr), + _deleted_chain(nullptr), _table_size(copy._table_size), _num_entries(copy._num_entries), _comp(copy._comp) {