sfx2/source/appl/sfxhelp.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 2e367c0ae9a91a428222d229869785b26b739a63
Author: Caolán McNamara <[email protected]>
Date:   Sat Feb 16 23:38:46 2013 +0000

    coverity#441015 Use after free
    
    Change-Id: Iba7b3b2969525bbb8315452962556d08773e04fd

diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index 5a995ec..07b6781 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -578,7 +578,10 @@ SfxHelpWindow_Impl* impl_createHelp(Reference< XFrame >& 
rHelpTask   ,
     }
 
     if (!xHelpContent.is())
+    {
         delete pHelpWindow;
+        return NULL;
+    }
 
     xHelpContent->setName(OUString("OFFICE_HELP"));
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to