does mtgp32_kernel_params need to be freed after allocation?

Hi all,

I came across a code in which an instance of mtgp32_kernel_params is allocated via cudaMalloc but not freed. When I run that code with cuda-memcheck, it does not give an error message. Does this have to do with the fact that curandMakeMTGP32Constants and curandMakeMTGP32KernelState is run on the mtgp32_kernel_params instance? Or is this just faulty code?

The code can be found on

Best and thank you in advance for your answers,