comparison src/video/gem/SDL_gemvideo.c @ 1072:5dbcac12f22b

Use correct system function to free memory
author Patrice Mandin <patmandin@gmail.com>
date Mon, 06 Jun 2005 16:54:03 +0000
parents 24470ffe8ee4
children 936da0056ed3
comparison
equal deleted inserted replaced
1071:24470ffe8ee4 1072:5dbcac12f22b
479 479
480 static void GEM_FreeBuffers(_THIS) 480 static void GEM_FreeBuffers(_THIS)
481 { 481 {
482 /* Release buffer */ 482 /* Release buffer */
483 if ( GEM_buffer2 ) { 483 if ( GEM_buffer2 ) {
484 free( GEM_buffer2 ); 484 Mfree( GEM_buffer2 );
485 GEM_buffer2=NULL; 485 GEM_buffer2=NULL;
486 } 486 }
487 487
488 if ( GEM_buffer1 ) { 488 if ( GEM_buffer1 ) {
489 free( GEM_buffer1 ); 489 Mfree( GEM_buffer1 );
490 GEM_buffer1=NULL; 490 GEM_buffer1=NULL;
491 } 491 }
492 } 492 }
493 493
494 static void GEM_ClearRect(_THIS, short *rect) 494 static void GEM_ClearRect(_THIS, short *rect)