Kaydet (Commit) 2e367c0a authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#441015 Use after free

Change-Id: Iba7b3b2969525bbb8315452962556d08773e04fd
üst 8f9da3e7
...@@ -578,7 +578,10 @@ SfxHelpWindow_Impl* impl_createHelp(Reference< XFrame >& rHelpTask , ...@@ -578,7 +578,10 @@ SfxHelpWindow_Impl* impl_createHelp(Reference< XFrame >& rHelpTask ,
} }
if (!xHelpContent.is()) if (!xHelpContent.is())
{
delete pHelpWindow; delete pHelpWindow;
return NULL;
}
xHelpContent->setName(OUString("OFFICE_HELP")); xHelpContent->setName(OUString("OFFICE_HELP"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment