Changeset - r20974:3f36dc1d96ad
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-11-22 21:42:20
rubidium@openttd.org
(svn r26048) -Fix: use delete instead of free when allocated by new
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/story_gui.cpp
Show inline comments
 
@@ -252,7 +252,7 @@ protected:
 

	
 
		/* Check if list is empty. */
 
		if (list->size() == 0) {
 
			free(list);
 
			delete list;
 
			list = NULL;
 
		}
 

	
0 comments (0 inline, 0 general)