mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-02 07:58:30 +00:00
haiku: Fixed memory leak if destroying window.
This commit is contained in:
@@ -115,6 +115,8 @@ class SDL_BWin:public BDirectWindow
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
delete _prev_frame;
|
||||||
|
|
||||||
/* Clean up framebuffer stuff */
|
/* Clean up framebuffer stuff */
|
||||||
_buffer_locker->Lock();
|
_buffer_locker->Lock();
|
||||||
#ifdef DRAWTHREAD
|
#ifdef DRAWTHREAD
|
||||||
|
Reference in New Issue
Block a user