Fix various memory leaks
This commit is contained in:
parent
f8f73b0cd7
commit
f6d45f7990
5 changed files with 19 additions and 1 deletions
|
@ -410,6 +410,7 @@ extern "C" {
|
|||
}
|
||||
|
||||
void randomx_release_cache(randomx_cache* cache) {
|
||||
delete cache->jit;
|
||||
delete cache;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue