summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/malloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/malloc.c b/src/lib/libc/stdlib/malloc.c
index 03d70531b7..ad5ce94d54 100644
--- a/src/lib/libc/stdlib/malloc.c
+++ b/src/lib/libc/stdlib/malloc.c
@@ -8,7 +8,7 @@
8 */ 8 */
9 9
10#if defined(LIBC_SCCS) && !defined(lint) 10#if defined(LIBC_SCCS) && !defined(lint)
11static char rcsid[] = "$OpenBSD: malloc.c,v 1.39 2000/03/01 03:09:08 deraadt Exp $"; 11static char rcsid[] = "$OpenBSD: malloc.c,v 1.40 2000/04/10 19:36:29 deraadt Exp $";
12#endif /* LIBC_SCCS and not lint */ 12#endif /* LIBC_SCCS and not lint */
13 13
14/* 14/*
@@ -1245,6 +1245,7 @@ free(void *ptr)
1245 if (malloc_active++) { 1245 if (malloc_active++) {
1246 wrtwarning("recursive call.\n"); 1246 wrtwarning("recursive call.\n");
1247 malloc_active--; 1247 malloc_active--;
1248 THREAD_UNLOCK();
1248 return; 1249 return;
1249 } 1250 }
1250 ifree(ptr); 1251 ifree(ptr);