From 01e3bb46b91706835a5eebeb61f270d8ba9759a8 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Sun, 2 Feb 2014 18:33:58 +0100 Subject: [PATCH] Calling PHYSFS_freeList in destructor --- src/lisp/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lisp/parser.cpp b/src/lisp/parser.cpp index 8bc9005ec..f9759dcb5 100644 --- a/src/lisp/parser.cpp +++ b/src/lisp/parser.cpp @@ -55,7 +55,7 @@ Parser::~Parser() obstack_free(&obst, NULL); delete lexer; delete dictionary_manager; - delete searchpath; + PHYSFS_freeList(searchpath); } static std::string dirname(const std::string& filename) -- 2.11.0