(svn r26048) -Fix: use delete instead of free when allocated by new

This commit is contained in:
rubidium
2013-11-22 21:42:20 +00:00
parent 0eb1e6ae67
commit 9cd7c07e34

View File

@@ -252,7 +252,7 @@ protected:
/* Check if list is empty. */
if (list->size() == 0) {
free(list);
delete list;
list = NULL;
}