Update to 2.0.0 tree from current Fremantle build
[opencv] / samples / c / calibration.cpp
index 8bf9dbd..c7a0aa9 100644 (file)
@@ -499,5 +499,7 @@ calibrate:
 
     if( capture )
         cvReleaseCapture( &capture );
+    if( storage )
+        cvReleaseMemStorage( &storage );
     return 0;
 }