Change-Id: Ib1cffbc442d78e9b5cd8fd4f9f875d627ca65e41
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
std::cerr << info_db_journal_path << " is not removed" << std::endl;
if (IsGlobal(uid)) {
char *cert_db = getUserPkgCertDBPath();
+ if (!cert_db) {
+ std::cerr << "Failed to get cert db path" << std::endl;
+ free(parser_db);
+ return;
+ }
std::string cert_db_journal = cert_db + journal;
bf::path cert_db_path(cert_db);
bf::path cert_db_journal_path(cert_db_journal.c_str());