From: Tobias Markus Date: Sun, 2 Feb 2014 17:33:58 +0000 (+0100) Subject: Calling PHYSFS_freeList in destructor X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=01e3bb46b91706835a5eebeb61f270d8ba9759a8;p=supertux.git Calling PHYSFS_freeList in destructor --- 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)