From 2411ea09a8d20609e48b0750ab2102c00e0c3b8a Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Mon, 7 Nov 2011 12:49:03 +0000 Subject: redundant if not-null checks on delete --- vcl/aqua/source/window/salframe.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vcl/aqua/source') diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx index 5ac2842cb469..7733649f2768 100644 --- a/vcl/aqua/source/window/salframe.cxx +++ b/vcl/aqua/source/window/salframe.cxx @@ -128,8 +128,7 @@ AquaSalFrame::~AquaSalFrame() if( this == s_pCaptureFrame ) s_pCaptureFrame = NULL; - if ( mpGraphics ) - delete mpGraphics; + delete mpGraphics; if( mpDockMenuEntry ) // life cycle comment: the menu has ownership of the item, so no release -- cgit