projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove potential defects detected in the static analyzer.
[platform/upstream/iotivity.git]
/
service
/
notification
/
src
/
consumer
/
NSThread.c
diff --git
a/service/notification/src/consumer/NSThread.c
b/service/notification/src/consumer/NSThread.c
index
9dbf64b
..
70bd376
100644
(file)
--- a/
service/notification/src/consumer/NSThread.c
+++ b/
service/notification/src/consumer/NSThread.c
@@
-96,5
+96,7
@@
void NSDestroyThreadHandle(NSConsumerThread * handle)
pthread_mutex_destroy(&(handle->mutex));
pthread_mutexattr_destroy(&(handle->mutex_attr));
+
+ pthread_mutex_unlock(&g_create_mutex);
}