cudaGraphicsGLRegisterImage cause MemoryLeak, any one met this kind of problem?

cudaGraphicsGLRegisterImage cause MemoryLeak, any one met this kind of problem?
remove the map&unmap code and only left cudaGraphicsGLRegisterImage & cudaGraphicsGLUnregisterImage there is memory leak…
after remove these 2 line there isnot.