projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9ee806
)
updates.
author
Pekka Riikonen
<priikone@silcnet.org>
Tue, 10 Jul 2001 12:18:08 +0000
(12:18 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Tue, 10 Jul 2001 12:18:08 +0000
(12:18 +0000)
lib/silcutil/win32/silcwin32thread.c
patch
|
blob
|
history
diff --git
a/lib/silcutil/win32/silcwin32thread.c
b/lib/silcutil/win32/silcwin32thread.c
index 5c32cb3fdcde0bfafbc201ae8d53d793c021e3b1..76ba902439b0fb2f57fd3f0f5a8815f3e7e7ef19 100644
(file)
--- a/
lib/silcutil/win32/silcwin32thread.c
+++ b/
lib/silcutil/win32/silcwin32thread.c
@@
-80,11
+80,10
@@
void silc_thread_exit(void *exit_value)
if (thread) {
/* If the thread is waitable the memory is freed only in silc_thread_wait
by another thread. If not waitable, free it now. */
- if (!thread->waitable)
- {
- CloseHandle(thread->thread);
- silc_free(thread);
- }
+ if (!thread->waitable) {
+ CloseHandle(thread->thread);
+ silc_free(thread);
+ }
TlsSetValue(silc_thread_tls, NULL);
}