mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
zsh-workers/9279
This commit is contained in:
parent
25c96897a5
commit
acc5414b52
1 changed files with 4 additions and 0 deletions
|
@ -181,7 +181,11 @@ old_heaps(Heap old)
|
|||
for (h = heaps; h; h = n) {
|
||||
n = h->next;
|
||||
DPUTS(h->sp, "BUG: old_heaps() with pushed heaps");
|
||||
#ifdef USE_MMAP
|
||||
munmap((void *) h, sizeof(*h));
|
||||
#else
|
||||
zfree(h, sizeof(*h));
|
||||
#endif
|
||||
}
|
||||
heaps = old;
|
||||
fheap = NULL;
|
||||
|
|
Loading…
Reference in a new issue