Merge pull request #752 from khzimmer:2.4

This commit is contained in:
Andrey Kamaev 2013-04-04 00:57:33 +04:00 committed by OpenCV Buildbot
commit 1e9ed14205

View File

@ -1714,6 +1714,7 @@ static void icvCloseCAM_V4L( CvCaptureCAM_V4L* capture ){
#endif #endif
free(capture->deviceName); free(capture->deviceName);
capture->deviceName = NULL;
//v4l2_free_ranges(capture); //v4l2_free_ranges(capture);
//cvFree((void **)capture); //cvFree((void **)capture);
} }