Explorar o código

haiku: Fixed memory leak if destroying window.

Philipp Wiesemann %!s(int64=8) %!d(string=hai) anos
pai
achega
b1fbab50c5
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/video/haiku/SDL_BWin.h

+ 2 - 0
src/video/haiku/SDL_BWin.h

@@ -115,6 +115,8 @@ class SDL_BWin:public BDirectWindow
         }
 #endif
 
+        delete _prev_frame;
+
         /* Clean up framebuffer stuff */
         _buffer_locker->Lock();
 #ifdef DRAWTHREAD