# HG changeset patch # User Patrice Mandin # Date 1118076843 0 # Node ID 5dbcac12f22bc6c1361eaa0b2d1477e73c53bdb5 # Parent 24470ffe8ee4298c106fd1c1846fe185f5ea2ea2 Use correct system function to free memory diff -r 24470ffe8ee4 -r 5dbcac12f22b 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; } }