Use correct system function to free memory

This commit is contained in:
Patrice Mandin
2005-06-06 16:54:03 +00:00
parent 4eb52e30d3
commit 45652dfa71

View File

@@ -481,12 +481,12 @@ static void GEM_FreeBuffers(_THIS)
{
/* 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;
}
}