Fix two comment typos.
Change-Id: Icb2d6f7fa97ef5a4409a7606875e416cfab0a4b3
This commit is contained in:
parent
9a7366e894
commit
e5d5f7f0d8
@ -376,7 +376,7 @@ static void malloc_init_impl() {
|
||||
}
|
||||
}
|
||||
|
||||
// Lets see which .so must be loaded for the requested debug level
|
||||
// Choose the appropriate .so for the requested debug level.
|
||||
switch (debug_level) {
|
||||
case 1:
|
||||
case 5:
|
||||
|
@ -366,7 +366,7 @@ extern "C" void* leak_memalign(size_t alignment, size_t bytes) {
|
||||
alignment = 1L << (31 - __builtin_clz(alignment));
|
||||
}
|
||||
|
||||
// here, aligment is at least MALLOC_ALIGNMENT<<1 bytes
|
||||
// here, alignment is at least MALLOC_ALIGNMENT<<1 bytes
|
||||
// we will align by at least MALLOC_ALIGNMENT bytes
|
||||
// and at most alignment-MALLOC_ALIGNMENT bytes
|
||||
size_t size = (alignment-MALLOC_ALIGNMENT) + bytes;
|
||||
|
Loading…
Reference in New Issue
Block a user