1
0
Fork 0
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:
Tanaka Akira 2000-01-09 21:58:51 +00:00
parent 25c96897a5
commit acc5414b52

View file

@ -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;