projects
/
framework
/
osp
/
social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
422c16e
)
Fix the prevent defect
author
Yoonchan Choi
<yc81.choi@samsung.com>
Fri, 12 Apr 2013 01:39:46 +0000
(10:39 +0900)
committer
Yoonchan Choi
<yc81.choi@samsung.com>
Fri, 12 Apr 2013 01:57:14 +0000
(10:57 +0900)
Change-Id: I988a444c892af8f1742e0b4981647aa2732802d3
Signed-off-by: Yoonchan Choi <yc81.choi@samsung.com>
pkgmgr_account/src/account.cpp
patch
|
blob
|
history
diff --git
a/pkgmgr_account/src/account.cpp
b/pkgmgr_account/src/account.cpp
index
a66001c
..
9fd5ff2
100644
(file)
--- a/
pkgmgr_account/src/account.cpp
+++ b/
pkgmgr_account/src/account.cpp
@@
-207,7
+207,7
@@
int PKGMGR_PARSER_PLUGIN_INSTALL(xmlDocPtr docPtr, const char* packageId)
CATCH:
account_type_destroy(accountTypeHandle);
-
account_disconnect(
);
+
_SysTryReturn(NID_SCL, account_disconnect() == ACCOUNT_ERROR_NONE, -1, "A system error has occurred."
);
return ret;
}
@@
-262,7
+262,7
@@
int PKGMGR_PARSER_PLUGIN_UNINSTALL(xmlDocPtr docPtr, const char* packageId)
return 0;
CATCH:
-
account_disconnect(
);
+
_SysTryReturn(NID_SCL, account_disconnect() == ACCOUNT_ERROR_NONE, -1, "A system error has occurred."
);
return ret;
}