Fixed a segfault in linux version

This commit is contained in:
teuf
2001-05-08 19:36:09 +00:00
parent 1110306f16
commit e39af417b4

View File

@@ -189,7 +189,7 @@ void Grab_PNG_Data(void)
/*compress and write the PNG*/ /*compress and write the PNG*/
Png_Dump(filename, 256, 224, DIBits, is_bgr_data); Png_Dump(filename, 256, 224, DIBits, is_bgr_data);
free(&DIBits); free(DIBits);
#ifdef __WIN32DBG__ #ifdef __WIN32DBG__
_CrtDumpMemoryLeaks(); _CrtDumpMemoryLeaks();