Skip to content

Fix passing and dereferencing of nullptr

Vincent Pascuzzi requested to merge FastChain/athena:21p3.Fix-ATLASSIM2157 into 21.3

This patch adds logic to check for a nullptr before dereferencing the pointer. (Closes ATLASSIM-2157.)

In addition, raw pointers were converted to std::unique_ptr (where applicable) and comments were added for future generations. Suspected memory leak also addressed. (Fixes for !21064 (merged) and follow-up of ATLASSIM-4006.)


Edited by Vincent Pascuzzi

Merge request reports