Check for Null Pointer before calling free()?
https://pvs-studio.com/en/blog/posts/cpp/1100/
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.