(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 ed4e14dc20
commit 830a49692d
1 changed files with 1 additions and 1 deletions

View File

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