svn commit: r203701 - stable/8/lib/libc/stdlib
Ed Maste
emaste at FreeBSD.org
Tue Feb 9 13:07:32 UTC 2010
Author: emaste
Date: Tue Feb 9 13:07:32 2010
New Revision: 203701
URL: http://svn.freebsd.org/changeset/base/203701
Log:
MFC r203077:
Add missing return, in a rare case where we can't allocate memory in
deallocate.
Submitted by: Ryan Stone (rysto32 at gmail dot com)
Approved by: jasone
Modified:
stable/8/lib/libc/stdlib/malloc.c
Directory Properties:
stable/8/lib/libc/ (props changed)
stable/8/lib/libc/stdtime/ (props changed)
Modified: stable/8/lib/libc/stdlib/malloc.c
==============================================================================
--- stable/8/lib/libc/stdlib/malloc.c Tue Feb 9 12:20:48 2010 (r203700)
+++ stable/8/lib/libc/stdlib/malloc.c Tue Feb 9 13:07:32 2010 (r203701)
@@ -3861,6 +3861,7 @@ arena_dalloc(arena_t *arena, arena_chunk
arena_dalloc_small(arena, chunk, ptr,
mapelm);
malloc_spin_unlock(&arena->lock);
+ return;
}
mag_rack = rack;
}
More information about the svn-src-stable-8
mailing list