haiku: Fixed memory leak if destroying window.
authorPhilipp Wiesemann
Sat, 01 Jul 2017 23:01:57 +0200
changeset 111185d7fc5c843a0
parent 11117 ea02b6aa1679
child 11119 28d3a50e276e
haiku: Fixed memory leak if destroying window.
src/video/haiku/SDL_BWin.h
     1.1 --- a/src/video/haiku/SDL_BWin.h	Sat Jul 01 23:01:49 2017 +0200
     1.2 +++ b/src/video/haiku/SDL_BWin.h	Sat Jul 01 23:01:57 2017 +0200
     1.3 @@ -115,6 +115,8 @@
     1.4          }
     1.5  #endif
     1.6  
     1.7 +        delete _prev_frame;
     1.8 +
     1.9          /* Clean up framebuffer stuff */
    1.10          _buffer_locker->Lock();
    1.11  #ifdef DRAWTHREAD