From f59bcc296e498a2b3851eed449c4de9df178e553 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 18 May 2010 10:03:09 +0000 Subject: [PATCH] fix a double free problem in jpeg.c git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10199 d7cf8633-e32d-0410-b094-e92efae38249 --- jpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jpeg.c b/jpeg.c index 2220ccb3..965f7c87 100644 --- a/jpeg.c +++ b/jpeg.c @@ -679,7 +679,7 @@ unsigned char* JPEG_LoadImage_BGRA (const unsigned char *f, int filesize) line++; } - Mem_Free (scanline); + Mem_Free (scanline); scanline = NULL; qjpeg_finish_decompress (&cinfo); qjpeg_destroy_decompress (&cinfo); -- 2.39.2