summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2012-06-14 14:16:15 +0000
committerHerbert Dürr <hdu@apache.org>2012-06-14 14:16:15 +0000
commita6ee3d58c7cc3e6b0c4ddb31ddd8f495385adad2 (patch)
tree361966a1e922421483faacd237fee515823a0d79 /sd
parentd5fb4994059bd57e53a4d1f77782da996b119f61 (diff)
#c708912# fix a double free in Sd*Options
Notes
Notes: merged as: c604243cae1eab5de55b8c7ed97f3deae8f6dd34
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/optsitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/app/optsitem.cxx b/sd/source/ui/app/optsitem.cxx
index 54da34928b62..3075a0f44bbd 100644
--- a/sd/source/ui/app/optsitem.cxx
+++ b/sd/source/ui/app/optsitem.cxx
@@ -145,8 +145,8 @@ void SdOptionsGeneric::Init() const
SdOptionsGeneric::~SdOptionsGeneric()
{
- if( mpCfgItem )
- delete mpCfgItem;
+ delete mpCfgItem;
+ mpCfgItem = NULL;
}
// -----------------------------------------------------------------------------