From a31aff452a4b088e026678202a659246ceefc9ea Mon Sep 17 00:00:00 2001 From: abhi-jha Date: Sat, 5 May 2018 00:56:29 +0530 Subject: [PATCH] fix spelling error --- .../interoperability_with_OpenCV_1.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorials/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.markdown b/doc/tutorials/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.markdown index 42fdb3483e..298c45b3b1 100644 --- a/doc/tutorials/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.markdown +++ b/doc/tutorials/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.markdown @@ -69,7 +69,7 @@ CvMat* mI = &I.operator CvMat(); @endcode One of the biggest complaints of the C interface is that it leaves all the memory management to you. You need to figure out when it is safe to release your unused objects and make sure you do so before -the program finishes or you could have troublesome memory leeks. To work around this issue in OpenCV +the program finishes or you could have troublesome memory leaks. To work around this issue in OpenCV there is introduced a sort of smart pointer. This will automatically release the object when it's no longer in use. To use this declare the pointers as a specialization of the *Ptr* : @code{.cpp}