diff options
| author | Elliott Hughes <enh@google.com> | 2012-10-09 17:23:09 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2012-10-09 17:23:09 -0700 |
| commit | e5d5f7f0d8262178f9f69e78e3a4fbd71a34853c (patch) | |
| tree | 33b0ffcca7b1f85ef0f05196f590d7660ee02e7a /libc/bionic/malloc_debug_leak.cpp | |
| parent | 9a7366e8943990619c494548050aa906f1971332 (diff) | |
| download | bionic-e5d5f7f0d8262178f9f69e78e3a4fbd71a34853c.zip bionic-e5d5f7f0d8262178f9f69e78e3a4fbd71a34853c.tar.gz bionic-e5d5f7f0d8262178f9f69e78e3a4fbd71a34853c.tar.bz2 | |
Fix two comment typos.
Change-Id: Icb2d6f7fa97ef5a4409a7606875e416cfab0a4b3
Diffstat (limited to 'libc/bionic/malloc_debug_leak.cpp')
| -rw-r--r-- | libc/bionic/malloc_debug_leak.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/malloc_debug_leak.cpp b/libc/bionic/malloc_debug_leak.cpp index c13b520..ca00d4d 100644 --- a/libc/bionic/malloc_debug_leak.cpp +++ b/libc/bionic/malloc_debug_leak.cpp @@ -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; |
