Update change log and spec for wrt-plugins-tizen_0.4.70
[framework/web/wrt-plugins-tizen.git] / src / Package / PackageManager.cpp
index 25a5ecc..a90141a 100644 (file)
@@ -207,6 +207,7 @@ static int get_current_pkg_id(char** pkg_id)
        ret = app_info_get_package(handle, pkg_id);
        if ((ret != APP_MANAGER_ERROR_NONE) || (*pkg_id == NULL)) {
                LoggerE("Fail to get pkg_id");
+               app_info_destroy(handle);
                return ret;
        }