From: <wjp...@us...> - 2007-12-02 17:40:43
|
Revision: 4855 http://gemrb.svn.sourceforge.net/gemrb/?rev=4855&view=rev Author: wjpalenstijn Date: 2007-12-02 09:40:46 -0800 (Sun, 02 Dec 2007) Log Message: ----------- fix memory leak Modified Paths: -------------- gemrb/trunk/gemrb/plugins/Core/LRUCache.cpp Modified: gemrb/trunk/gemrb/plugins/Core/LRUCache.cpp =================================================================== --- gemrb/trunk/gemrb/plugins/Core/LRUCache.cpp 2007-12-02 16:45:04 UTC (rev 4854) +++ gemrb/trunk/gemrb/plugins/Core/LRUCache.cpp 2007-12-02 17:40:46 UTC (rev 4855) @@ -107,6 +107,7 @@ VarEntry* e = (VarEntry*) p; v.Remove(key); removeFromList(e); + delete[] e->key; delete e; return true; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |