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/ios/source/window | |
parent | 2ea9da71470a9e2a442ec6a660de47691a3f8723 (diff) |
redundant if not-null checks on delete
Diffstat (limited to 'vcl/ios/source/window')
-rw-r--r-- | vcl/ios/source/window/salframe.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/ios/source/window/salframe.cxx b/vcl/ios/source/window/salframe.cxx index 8e2ea9d7c910..3aab37a32190 100644 --- a/vcl/ios/source/window/salframe.cxx +++ b/vcl/ios/source/window/salframe.cxx @@ -106,8 +106,7 @@ IosSalFrame::~IosSalFrame() if( this == s_pCaptureFrame ) s_pCaptureFrame = NULL; - if ( mpGraphics ) - delete mpGraphics; + delete mpGraphics; if ( mpView ) { [mpView release]; |