From c6f87492429582ec79e0bf58c65dfa61b165e08b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 7 May 2006 22:21:06 +0000 Subject: [PATCH] real fix for memleak --- amxmodx/CPlugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amxmodx/CPlugin.cpp b/amxmodx/CPlugin.cpp index f3894b02..ee502f23 100755 --- a/amxmodx/CPlugin.cpp +++ b/amxmodx/CPlugin.cpp @@ -431,6 +431,8 @@ char *CPluginMngr::ReadIntoOrFromCache(const char *file, size_t &bufsize) bufsize = pl->bufsize; + m_plcache.push_back(pl); + return pl->buffer; }