diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/story_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/story_gui.cpp b/src/story_gui.cpp index df1a04975..d7856add1 100644 --- a/src/story_gui.cpp +++ b/src/story_gui.cpp @@ -252,7 +252,7 @@ protected: /* Check if list is empty. */ if (list->size() == 0) { - free(list); + delete list; list = NULL; } |