git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
99a9855
)
uwrap: Make sure we leave if the id is NULL.
author
Andreas Schneider
<asn@samba.org>
Fri, 23 Jan 2015 14:31:17 +0000
(15:31 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Wed, 28 Jan 2015 16:17:08 +0000
(17:17 +0100)
CID #97616
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/uid_wrapper/uid_wrapper.c
patch
|
blob
|
history
diff --git
a/lib/uid_wrapper/uid_wrapper.c
b/lib/uid_wrapper/uid_wrapper.c
index 44ef8c13bde9b5c9c8f8538fa1648a9b8019de31..1d49a852cda693add946230d8114c2181436e2d8 100644
(file)
--- a/
lib/uid_wrapper/uid_wrapper.c
+++ b/
lib/uid_wrapper/uid_wrapper.c
@@
-656,6
+656,7
@@
static void uwrap_pthread_exit(void *retval)
if (id == NULL) {
UWRAP_UNLOCK(uwrap_id);
libpthread_pthread_exit(retval);
+ return;
}
UWRAP_DLIST_REMOVE(uwrap.ids, id);