Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

memory leak with VideoCapture

Hello, I was debuging my code when I saw a memory leak with VideoCapture. There you have the memory of my computer : it's go up realy fast http://i.imgur.com/wXtpKS0.png

I tested this two code :

while (1) { VideoCapture test; test = VideoCapture(0); test.~VideoCapture(); }

while (1) { VideoCapture test; test = VideoCapture(0); test.release(); }

is this normal? do you have any solution?

Thank you