summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-08-11 08:45:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-08-11 08:47:22 +0100
commite33184e40a8bc9790cb57a15ecc9cbc6d2b4f782 (patch)
tree5e54ccb1303a27cd29cc6dd8c9a50d517ab75313 /hwpfilter
parent840a97f98f03491256a93d95e6614d41cdcddbcf (diff)
ofz#2906: direct-leak
Change-Id: I61323f36922842ddc45b2a63a9ba7334c847a8fd
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/drawing.h3
1 files changed, 3 insertions, 0 deletions
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