indent
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402567
This commit is contained in:
parent
8b728544ee
commit
87f2e5ee92
1 changed files with 1 additions and 2 deletions
|
@ -3692,8 +3692,7 @@ sys_trim(mstate m, size_t pad)
|
||||||
/* Prefer mremap, fall back to munmap */
|
/* Prefer mremap, fall back to munmap */
|
||||||
if ((CALL_MREMAP(sp->base, sp->size, newsize, 0) !=
|
if ((CALL_MREMAP(sp->base, sp->size, newsize, 0) !=
|
||||||
MFAIL)
|
MFAIL)
|
||||||
|| (CALL_MUNMAP(sp->base + newsize, extra) ==
|
|| (CALL_MUNMAP(sp->base + newsize, extra) == 0)) {
|
||||||
0)) {
|
|
||||||
released = extra;
|
released = extra;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue