artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
920acb5
)
missing THREAD_UNLOCK; netch@segfault.kiev.ua
author
deraadt
<deraadt@openbsd.org>
Mon, 10 Apr 2000 19:36:29 +0000
(19:36 +0000)
committer
deraadt
<deraadt@openbsd.org>
Mon, 10 Apr 2000 19:36:29 +0000
(19:36 +0000)
lib/libc/stdlib/malloc.c
patch
|
blob
|
history
diff --git
a/lib/libc/stdlib/malloc.c
b/lib/libc/stdlib/malloc.c
index
03d7053
..
ad5ce94
100644
(file)
--- a/
lib/libc/stdlib/malloc.c
+++ b/
lib/libc/stdlib/malloc.c
@@
-8,7
+8,7
@@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: malloc.c,v 1.
39 2000/03/01 03:09:08
deraadt Exp $";
+static char rcsid[] = "$OpenBSD: malloc.c,v 1.
40 2000/04/10 19:36:29
deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@
-1245,6
+1245,7
@@
free(void *ptr)
if (malloc_active++) {
wrtwarning("recursive call.\n");
malloc_active--;
+ THREAD_UNLOCK();
return;
}
ifree(ptr);