haiku: Fixed memory leak if destroying window.
parent
380e0693b1
commit
b1fbab50c5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue