Fix missing goto _ERROR_ 86/263286/1
authorTae-Young Chung <ty83.chung@samsung.com>
Tue, 31 Aug 2021 00:08:29 +0000 (09:08 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Tue, 31 Aug 2021 00:08:29 +0000 (09:08 +0900)
Change-Id: I07f7cc7dfd90677b6d8fdbe3f82068490406562b
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
mv_machine_learning/mv_inference/inference/src/mv_inference_open.cpp
packaging/capi-media-vision.spec

index 6ceb6bd..af2163e 100644 (file)
@@ -422,6 +422,7 @@ int mv_inference_configure_engine_open(mv_inference_h infer,
        ret = pInfer->Bind();
        if (ret != MEDIA_VISION_ERROR_NONE) {
                LOGE("Fail to bind a backend engine.");
+               goto _ERROR_;
        }
 
        if (!pInfer->IsTargetDeviceSupported(targetTypes)) {
index 61e7685..7aeb8a1 100644 (file)
@@ -1,7 +1,7 @@
 Name:        capi-media-vision
 Summary:     Media Vision library for Tizen Native API
 Version:     0.8.12
-Release:     1
+Release:     2
 Group:       Multimedia/Framework
 License:     Apache-2.0 and BSD-3-Clause
 Source0:     %{name}-%{version}.tar.gz