Change-Id: Ibb97fb9fc131f0dd84084aafbdb0d47032cfcc97
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
&modelPath);
if (error != MEDIA_VISION_ERROR_NONE) {
- if (modelPath != NULL)
- delete[] modelPath;
+ if (modelPath != NULL) {
+ free(modelPath);
+ modelPath = NULL;
+ }
LOGE("Getting recognition model from engine configuration failed.");
LOGE("Loading recognition model from file %s failed.",
modelPath);
- if (modelPath != NULL)
- delete[] modelPath;
+ if (modelPath != NULL) {
+ free(modelPath);
+ modelPath = NULL;
+ }
return error;
}
Name: capi-media-vision
Summary: Media Vision library for Tizen Native API
Version: 0.3.20
-Release: 1
+Release: 2
Group: Multimedia/Framework
License: Apache-2.0 and BSD-2.0
Source0: %{name}-%{version}.tar.gz