From e39af417b40d5968bb2e5ce65ccc2541bc7a579e Mon Sep 17 00:00:00 2001 From: teuf <> Date: Tue, 8 May 2001 19:36:09 +0000 Subject: [PATCH] Fixed a segfault in linux version --- zsnes/src/zip/zpng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();