summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDewal Agarwal <d1.agarwal@samsung.com>2022-09-27 14:47:04 +0530
committerDewal Agarwal <d1.agarwal@samsung.com>2022-09-27 14:47:04 +0530
commite366a5cc247cafdd34db9ce66b3636199c42097e (patch)
tree2ff91917546c415e440ae7e3106c2d9971ee33d3
parent649d958abc1fead4ec1651efd682c5064a5638ee (diff)
downloadsync-manager-tizen_7.0_hotfix.tar.gz
sync-manager-tizen_7.0_hotfix.tar.bz2
sync-manager-tizen_7.0_hotfix.zip
Change-Id: I2f9bf9d0a5084c5a93ce9784f15c227f4a4c6a2c Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
-rw-r--r--src/sync-service/SyncManager_RepositoryEngine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sync-service/SyncManager_RepositoryEngine.cpp b/src/sync-service/SyncManager_RepositoryEngine.cpp
index a7e602e..75b5f1d 100644
--- a/src/sync-service/SyncManager_RepositoryEngine.cpp
+++ b/src/sync-service/SyncManager_RepositoryEngine.cpp
@@ -658,9 +658,9 @@ RepositoryEngine::ParseExtras(xmlNodePtr cur, bundle* pExtra) {
bundle_add_str(pExtra, (const char*)pKey, (const char*)pVal);
- if (!pKey)
+ if (pKey)
xmlFree(pKey);
- if (!pVal)
+ if (pVal)
xmlFree(pVal);
}
/* LCOV_EXCL_STOP */