diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-11-07 12:49:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-07 12:49:03 +0000 |
commit | 2411ea09a8d20609e48b0750ab2102c00e0c3b8a (patch) | |
tree | 18c8dd0e5784ea488e2744067225689b85f8ed1f /vcl/aqua/source/window | |
parent | 2ea9da71470a9e2a442ec6a660de47691a3f8723 (diff) |
redundant if not-null checks on delete
Diffstat (limited to 'vcl/aqua/source/window')
-rw-r--r-- | vcl/aqua/source/window/salframe.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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 |