- Fix incorrect error log
- Fix memory leak
Change-Id: I5e4a1face1d4f2387454eb5fbb3504325cfb77d6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
bf::create_directories(storage_apps_lw_path, error);
if (error) {
LOG(ERROR) << "Failed to create directory: "
- << storage_apps_path.c_str();
+ << storage_apps_lw_path.c_str();
return false;
}
}
Plugin::ActionType::Undo))
ret = Status::ERROR;
} else if (action_type_ == Plugin::ActionType::Upgrade) {
- plugin_manager_.release();
+ plugin_manager_.reset();
if (!ProcessPlugins(context_->backup_xml_path.get(),
context_->old_manifest_data.get(),
Plugin::ActionType::Undo))