mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-02-23 20:21:09 +03:00
real fix for memleak
This commit is contained in:
parent
6ee7930a46
commit
c6f8749242
@ -431,6 +431,8 @@ char *CPluginMngr::ReadIntoOrFromCache(const char *file, size_t &bufsize)
|
|||||||
|
|
||||||
bufsize = pl->bufsize;
|
bufsize = pl->bufsize;
|
||||||
|
|
||||||
|
m_plcache.push_back(pl);
|
||||||
|
|
||||||
return pl->buffer;
|
return pl->buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user