mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
haiku: Fixed memory leak if destroying window.
This commit is contained in:
parent
380e0693b1
commit
b1fbab50c5
1 changed files with 2 additions and 0 deletions
|
|
@ -115,6 +115,8 @@ class SDL_BWin:public BDirectWindow
|
|||
}
|
||||
#endif
|
||||
|
||||
delete _prev_frame;
|
||||
|
||||
/* Clean up framebuffer stuff */
|
||||
_buffer_locker->Lock();
|
||||
#ifdef DRAWTHREAD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue