This project has moved. For the latest updates, please go here.
1
Vote

memory leaks in Defaults.cpp

description

There are two cases of the following bug in Defaults.cpp. The pointer is set to NULL and then deleted instead of deleted and set to NULL.
ptr = NULL;
delete ptr;

Lines 561 and 562 should be swapped. The same goes for lines 590 and 591.

comments