Ask Your Question

Vedaevolution's profile - activity

2017-08-18 02:55:12 -0600 received badge  Editor (source)
2017-08-18 02:54:27 -0600 asked a question OpenCV V3.3 64bit Video Capture Memory Leak

Dear community, with this simple peace of code a get a memory leak using opencv v3.3 64bit with Visual Studio 2015.

int i = 0;

while (i++ < 50) {
    VideoCapture test; test = VideoCapture(0);
}

Can you help me to avoid this? It seems to be a bug in opencv. After the loop finished the memory is leaked and even waiting for the freeing is no good.

Best Regards