fixed memory leaks

This commit is contained in:
2022-10-24 15:59:01 +06:00
parent 4222c3ebf6
commit bbeb6bea1d
11 changed files with 50 additions and 6 deletions

View File

@@ -49,5 +49,6 @@ void* xoshiro128_init(uint64 seed){
splitmix64_state* splitmix=splitmix64_init(seed);
state->merged[0]=splitmix64_next(splitmix);
state->merged[1]=splitmix64_next(splitmix);
splitmix64_free(splitmix);
return state;
}