ofz#45125 Indirect-leak
Change-Id: I208c0b6751eefbe6dddffa126fe3d89a3bd353af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131149 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -385,7 +385,13 @@ error:
|
||||
}
|
||||
if (hdo->property.pPara)
|
||||
{
|
||||
hwpf.move_to_failed(std::unique_ptr<HWPPara>(hdo->property.pPara));
|
||||
HWPPara* pPara = hdo->property.pPara;
|
||||
while (pPara)
|
||||
{
|
||||
HWPPara* pNextPara = pPara->Next();
|
||||
hwpf.move_to_failed(std::unique_ptr<HWPPara>(pPara));
|
||||
pPara = pNextPara;
|
||||
}
|
||||
hdo->property.pPara = nullptr;
|
||||
}
|
||||
HWPDOFunc(hdo.get(), OBJFUNC_FREE, nullptr, 0);
|
||||
|
Reference in New Issue
Block a user