Commit d1f0ebd3 authored by Patrice Mandin's avatar Patrice Mandin

Use correct system function to free memory

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401073
parent 6368b80b
...@@ -481,12 +481,12 @@ static void GEM_FreeBuffers(_THIS) ...@@ -481,12 +481,12 @@ static void GEM_FreeBuffers(_THIS)
{ {
/* Release buffer */ /* Release buffer */
if ( GEM_buffer2 ) { if ( GEM_buffer2 ) {
free( GEM_buffer2 ); Mfree( GEM_buffer2 );
GEM_buffer2=NULL; GEM_buffer2=NULL;
} }
if ( GEM_buffer1 ) { if ( GEM_buffer1 ) {
free( GEM_buffer1 ); Mfree( GEM_buffer1 );
GEM_buffer1=NULL; GEM_buffer1=NULL;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment