jaberg/Theano — comment on commit a019900862d2e76ccb4e868634087e325fe594e0
File: theano/sandbox/cuda/cuda_ndarray.cu line 2883
By nouiz:

Ok, but a copy won't create a memory leak if you handle it corretly. But yes, you need to handle it specially to don't have a leak.

I'm fine with a ticket.