projects
/
platform
/
core
/
api
/
connection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
e6fe57e
)
Merge "Fixed issue of connection_create()" into tizen
accepted/tizen/common/20150506.091354
accepted/tizen/mobile/20150506.125648
accepted/tizen/tv/20150506.095514
accepted/tizen/wearable/20150506.095643
submit/tizen/20150506.015437
author
taesub.kim
<taesub.kim@samsung.com>
Wed, 6 May 2015 01:52:40 +0000
(18:52 -0700)
committer
Gerrit Code Review
<gerrit@review.vlan103.tizen.org>
Wed, 6 May 2015 01:52:40 +0000
(18:52 -0700)
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index
92c4ff6
..
55cbda8
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-257,10
+257,12
@@
EXPORT_API int connection_create(connection_h* connection)
rv = _connection_libnet_init();
if (rv == NET_ERR_ACCESS_DENIED) {
CONNECTION_LOG(CONNECTION_ERROR, "Access denied");
+ CONNECTION_MUTEX_UNLOCK;
return CONNECTION_ERROR_PERMISSION_DENIED;
}
else if (rv != NET_ERR_NONE) {
CONNECTION_LOG(CONNECTION_ERROR, "Failed to create connection[%d]", rv);
+ CONNECTION_MUTEX_UNLOCK;
return CONNECTION_ERROR_OPERATION_FAILED;
}