mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Kill hsMalloc to the best of our ability.
This commit is contained in:
@ -115,8 +115,6 @@ const char *plJPEG::GetLastError( void )
|
||||
|
||||
plMipmap *plJPEG::IRead( hsStream *inStream )
|
||||
{
|
||||
MemPushDisableTracking();
|
||||
|
||||
plMipmap *newMipmap = nil;
|
||||
uint8_t *jpegSourceBuffer = nil;
|
||||
uint32_t jpegSourceSize;
|
||||
@ -229,7 +227,6 @@ plMipmap *plJPEG::IRead( hsStream *inStream )
|
||||
|
||||
// Clean up the JPEG Library
|
||||
jpeg_destroy_decompress( &cinfo );
|
||||
MemPopDisableTracking();
|
||||
|
||||
// All done!
|
||||
return newMipmap;
|
||||
|
Reference in New Issue
Block a user