diff --git a/modules/gui/beos/VideoOutput.cpp b/modules/gui/beos/VideoOutput.cpp index 4188c6f2636fc418b6387a0b981e3fa96c2dd5b3..c8fcfc239a40914a567b5514c8cb597b3d29a689 100644 --- a/modules/gui/beos/VideoOutput.cpp +++ b/modules/gui/beos/VideoOutput.cpp @@ -762,7 +762,7 @@ VideoWindow::_AllocateBuffers(int width, int height, int* mode) { msg_Dbg( p_vout, "using single-buffered overlay" ); bitmap_count = 2; - if( bitmap[2] ) delete bitmap[2]; + if( bitmap[2] ) { delete bitmap[2]; bitmap[2] = NULL; } } break; }