fix: use "cvAlloc" wrapper function for malloc.
authorkuroda sho <kuroda.sho@fxs.jp>
Fri, 14 Mar 2014 08:02:20 +0000 (17:02 +0900)
committerkuroda sho <kuroda.sho@fxs.jp>
Fri, 14 Mar 2014 08:09:08 +0000 (17:09 +0900)
modules/core/src/persistence.cpp

index 4a6e0c9..6847eec 100644 (file)
@@ -4893,7 +4893,7 @@ cvUnregisterType( const char* type_name )
         if( !CvType::first || !CvType::last )
             CvType::first = CvType::last = 0;
 
-        cvFree( info );
+        cvFree( &info );
     }
 }