Add an assertion to avoid memory leaks.