Remove malloc overrides. Fixes issue 138.

This commit is contained in:
castano
2010-10-28 04:25:23 +00:00
parent 2d9805123c
commit f33bcfafad
10 changed files with 150 additions and 202 deletions

View File

@ -82,7 +82,7 @@ void nv::compressRGB(const Image * image, const OutputOptions::Private & outputO
// Determine pitch.
uint pitch = computePitch(w, compressionOptions.bitcount, 8);
uint8 * dst = (uint8 *)mem::malloc(pitch + 4);
uint8 * dst = (uint8 *)::malloc(pitch + 4);
for (uint y = 0; y < h; y++)
{
@ -127,6 +127,6 @@ void nv::compressRGB(const Image * image, const OutputOptions::Private & outputO
}
}
mem::free(dst);
::free(dst);
}