Fix DepInfoGetDBHandler
authorIlho Kim <ilho159.kim@samsung.com>
Mon, 8 Mar 2021 10:31:45 +0000 (19:31 +0900)
committer김일호/Tizen Platform Lab(SR)/Engineer/삼성전자 <ilho159.kim@samsung.com>
Mon, 8 Mar 2021 11:16:54 +0000 (20:16 +0900)
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/database/depinfo_db_handler.cc

index 29bca41..a667dbf 100644 (file)
@@ -54,6 +54,10 @@ int DepInfoGetDBHandler::Execute() {
     if (ret == PMINFO_R_ERROR)
       break;
   }
+
+  for (GList *tmp = list; tmp; tmp = tmp->next)
+    dependency_list_.emplace_back(reinterpret_cast<dependency_x *>(tmp->data));
+
   return ret;
 }