diff --git a/zsnes/src/zip/zpng.c b/zsnes/src/zip/zpng.c index b0abe38f..1f81783e 100644 --- a/zsnes/src/zip/zpng.c +++ b/zsnes/src/zip/zpng.c @@ -189,7 +189,7 @@ void Grab_PNG_Data(void) /*compress and write the PNG*/ Png_Dump(filename, 256, 224, DIBits, is_bgr_data); - free(&DIBits); + free(DIBits); #ifdef __WIN32DBG__ _CrtDumpMemoryLeaks();