From e33184e40a8bc9790cb57a15ecc9cbc6d2b4f782 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 11 Aug 2017 08:45:16 +0100 Subject: ofz#2906: direct-leak Change-Id: I61323f36922842ddc45b2a63a9ba7334c847a8fd --- hwpfilter/source/drawing.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hwpfilter/source/drawing.h') diff --git a/hwpfilter/source/drawing.h b/hwpfilter/source/drawing.h index a69ecf4878c5..4f990b0de813 100644 --- a/hwpfilter/source/drawing.h +++ b/hwpfilter/source/drawing.h @@ -690,6 +690,9 @@ HWPDrawingObject::~HWPDrawingObject() if (next) delete next; + if (property.pPara) + FreeParaList(property.pPara); + HWPDOFunc(this, OBJFUNC_FREE, nullptr, 0); } #endif -- cgit