Skip to content
Permalink
Browse files

Use correct system function to free memory

  • Loading branch information
pmandin committed Jun 6, 2005
1 parent a17766f commit b2436c398e3afcac274a0cdc4bc8e58510344d0e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/video/gem/SDL_gemvideo.c
@@ -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;
}
}

0 comments on commit b2436c3

Please sign in to comment.