Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- 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; } }