diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-16 13:19:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-16 13:29:50 +0100 |
commit | bc05c045c8fcbb8184305cf9b5d03cc5cf14c6a3 (patch) | |
tree | c7d5b559829aa2c26c09a69e6d3edd6b2f4b77a7 /cui | |
parent | 73d790d0ca4773826b21bd353e0ce577e835e199 (diff) |
no need to check for null before delete
Change-Id: Ie8a93a51096471d9d40644741fe3359ee016efe1
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/treeopt.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 1b70a813f0af..7932d89c8cd4 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -577,8 +577,7 @@ OfaTreeOptionsDialog::~OfaTreeOptionsDialog() } } - if( pPageInfo->m_pExtPage ) - delete pPageInfo->m_pExtPage; + delete pPageInfo->m_pExtPage; delete pPageInfo; } |