C or C++ : Noreturn function called in destructor

Classification

Overview

Calling a function that does not return in destructor leads to termination without calling other destructors, that can lead to resource leak.

References