diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2008-09-11 19:14:13 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-09-11 19:14:13 +0000 |
| commit | ced3570bd1bc8cc40c1be1592f39699c66070015 (patch) | |
| tree | 8666021b30514dddbebd72e46052fc1e2600887e | |
| parent | unposted: typo in ChangeLog (diff) | |
| download | zsh-ced3570bd1bc8cc40c1be1592f39699c66070015.tar zsh-ced3570bd1bc8cc40c1be1592f39699c66070015.tar.gz zsh-ced3570bd1bc8cc40c1be1592f39699c66070015.tar.bz2 zsh-ced3570bd1bc8cc40c1be1592f39699c66070015.tar.lz zsh-ced3570bd1bc8cc40c1be1592f39699c66070015.tar.xz zsh-ced3570bd1bc8cc40c1be1592f39699c66070015.tar.zst zsh-ced3570bd1bc8cc40c1be1592f39699c66070015.zip | |
25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | Src/mem.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2008-09-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong. + 2008-09-11 Peter Stephenson <pws@csr.com> * 25651: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/init.c, @@ -153,9 +153,9 @@ old_heaps(Heap old) n = h->next; DPUTS(h->sp, "BUG: old_heaps() with pushed heaps"); #ifdef USE_MMAP - munmap((void *) h, sizeof(*h)); + munmap((void *) h, h->size); #else - zfree(h, sizeof(*h)); + zfree(h, HEAPSIZE); #endif } heaps = old; |
