Use correct system function to free memory
authorPatrice Mandin <patmandin@gmail.com>
Mon, 06 Jun 2005 16:54:03 +0000
changeset 1072 5dbcac12f22b
parent 1071 24470ffe8ee4
child 1073 6d3c1134cd19
Use correct system function to free memory
src/video/gem/SDL_gemvideo.c
--- a/src/video/gem/SDL_gemvideo.c	Mon Jun 06 16:36:18 2005 +0000
+++ b/src/video/gem/SDL_gemvideo.c	Mon Jun 06 16:54:03 2005 +0000
@@ -481,12 +481,12 @@
 {
 	/* Release buffer */
 	if ( GEM_buffer2 ) {
-		free( GEM_buffer2 );
+		Mfree( GEM_buffer2 );
 		GEM_buffer2=NULL;
 	}
 
 	if ( GEM_buffer1 ) {
-		free( GEM_buffer1 );
+		Mfree( GEM_buffer1 );
 		GEM_buffer1=NULL;
 	}
 }