leak in clGetPlatformIDs ?

I made a simple sample:

#include <CL/cl.h> 
 
int main() { 
    clGetPlatformIDs(0, NULL, NULL); 
    return 0; 
}

I compiled it with and with the options -fsanitize=leak that enables leak sanitizer and I have the following output

==17663==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x4079ef (/home/xxx/dev/cuda_sample/a.out+0x4079ef)
#1 0x7f4231239036 (/usr/local/cuda-8.0/lib64/libOpenCL.so.1+0x2036)

(I have similar results with valgrind)

Using CUDA 8 on a GT640 driver 367.57 on ubuntu

You may want to file a bug at developer.nvidia.com

I sure want to do that. However I can’t find where it is on this website!

Open a new web browser window (e.g. in Chrome)
in the url bar, type:

developer.nvidia.com

then press the enter key on your keyboard.

If you are not already signed up as a registered developer, you will need to sign up as a registered developer. Once signed in as a registered developer, poke around and you will find information about filing a bug.