hrev48713 adds 1 changeset to branch 'master' old head: 8bcd69044c366974d40f1cd22577679cd7b991db new head: 0e652ab2dc2bdb9bb84094ef8cd7d0fc05037a64 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=0e652ab2dc2b+%5E8bcd69044c36 ---------------------------------------------------------------------------- 0e652ab2dc2b: Forgot to reset fBitmap to NULL. Thanks to Rene for reviewing. [ Adrien Destugues <pulkomandy@xxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev48713 Commit: 0e652ab2dc2bdb9bb84094ef8cd7d0fc05037a64 URL: http://cgit.haiku-os.org/haiku/commit/?id=0e652ab2dc2b Author: Adrien Destugues <pulkomandy@xxxxxxxxx> Date: Fri Jan 23 14:15:30 2015 UTC ---------------------------------------------------------------------------- 1 file changed, 1 insertion(+) src/servers/app/drawing/BitmapDrawingEngine.cpp | 1 + ---------------------------------------------------------------------------- diff --git a/src/servers/app/drawing/BitmapDrawingEngine.cpp b/src/servers/app/drawing/BitmapDrawingEngine.cpp index 7ce95f7..3f37fb1 100644 --- a/src/servers/app/drawing/BitmapDrawingEngine.cpp +++ b/src/servers/app/drawing/BitmapDrawingEngine.cpp @@ -57,6 +57,7 @@ BitmapDrawingEngine::SetSize(int32 newWidth, int32 newHeight) } fBitmap->ReleaseReference(); + fBitmap = NULL; if (newWidth <= 0 || newHeight <= 0) return B_OK;