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;
|
||||
|
||||
m_plcache.push_back(pl);
|
||||
|
||||
return pl->buffer;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user