Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Use correct system function to free memory
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+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; |
|
|
} |
|
|
} |
|
|