Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c2784a75 authored by hhakim's avatar hhakim
Browse files

Secure/Fix non-initialized pointers in GPUModHandler.

parent 8fe20761
Branches
Tags
No related merge requests found
......@@ -7,7 +7,7 @@ namespace Faust {
GPUModHandler* GPUModHandler::singleton = nullptr;
GPUModHandler::GPUModHandler() : gm_handle(nullptr)
GPUModHandler::GPUModHandler() : gm_handle(nullptr), marr_funcs_double(nullptr), marr_funcs_float(nullptr), marr_funcs_cuComplex(nullptr), marr_funcs_cuDoubleComplex(nullptr), dsm_funcs_double(nullptr), dsm_funcs_float(nullptr), dsm_funcs_cuComplex(nullptr), dsm_funcs_cuDoubleComplex(nullptr), spm_funcs_double(nullptr), spm_funcs_float(nullptr), spm_funcs_cuComplex(nullptr), spm_funcs_cuDoubleComplex(nullptr)
{
// class is only instatiatable with get_singleton (private ctor)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment