Use correct system function to free memory
authorPatrice Mandin <patmandin@gmail.com>
Mon, 06 Jun 2005 16:54:03 +0000
changeset 10725dbcac12f22b
parent 1071 24470ffe8ee4
child 1073 6d3c1134cd19
Use correct system function to free memory
src/video/gem/SDL_gemvideo.c
     1.1 --- a/src/video/gem/SDL_gemvideo.c	Mon Jun 06 16:36:18 2005 +0000
     1.2 +++ b/src/video/gem/SDL_gemvideo.c	Mon Jun 06 16:54:03 2005 +0000
     1.3 @@ -481,12 +481,12 @@
     1.4  {
     1.5  	/* Release buffer */
     1.6  	if ( GEM_buffer2 ) {
     1.7 -		free( GEM_buffer2 );
     1.8 +		Mfree( GEM_buffer2 );
     1.9  		GEM_buffer2=NULL;
    1.10  	}
    1.11  
    1.12  	if ( GEM_buffer1 ) {
    1.13 -		free( GEM_buffer1 );
    1.14 +		Mfree( GEM_buffer1 );
    1.15  		GEM_buffer1=NULL;
    1.16  	}
    1.17  }