diff options
author | Dewal Agarwal <d1.agarwal@samsung.com> | 2022-09-27 14:47:04 +0530 |
---|---|---|
committer | Dewal Agarwal <d1.agarwal@samsung.com> | 2022-09-27 14:47:04 +0530 |
commit | e366a5cc247cafdd34db9ce66b3636199c42097e (patch) | |
tree | 2ff91917546c415e440ae7e3106c2d9971ee33d3 | |
parent | 649d958abc1fead4ec1651efd682c5064a5638ee (diff) | |
download | sync-manager-tizen_7.0_hotfix.tar.gz sync-manager-tizen_7.0_hotfix.tar.bz2 sync-manager-tizen_7.0_hotfix.zip |
Fix dead code errortizen_7.0_m2_releaseaccepted/tizen/unified/20220928.144452accepted/tizen/7.0/unified/hotfix/20221116.104549accepted/tizen/7.0/unified/20221110.060038tizen_7.0_hotfixaccepted/tizen_7.0_unified_hotfix
Change-Id: I2f9bf9d0a5084c5a93ce9784f15c227f4a4c6a2c
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
-rw-r--r-- | src/sync-service/SyncManager_RepositoryEngine.cpp | 4 |
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 */ |