Renamed MemBuffer::free() to dealloc() in order to better support

malloc debugging libraries like mpatrol.

committer: mfx <mfx> 983109777 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2001-02-25 14:02:57 +00:00
parent a30bb7db20
commit 4a142f35f5
6 changed files with 24 additions and 20 deletions
+2 -2
View File
@@ -186,7 +186,7 @@ int PackVmlinuzI386::decompressKernel()
break;
// realloc and try again
unsigned s = ibuf.getSize();
ibuf.free();
ibuf.dealloc();
ibuf.alloc(3 * s / 2);
}
if (fd >= 0)
@@ -232,7 +232,7 @@ void PackVmlinuzI386::readKernel()
memcpy(setup_buf, obuf, setup_size);
//OutputFile::dump("setup.img", setup_buf, setup_size);
obuf.free();
obuf.dealloc();
obuf.allocForCompression(klen);
ph.u_len = klen;