diff options
Diffstat (limited to 'xfa/fxfa/app/xfa_textpiece.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_textpiece.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xfa/fxfa/app/xfa_textpiece.cpp b/xfa/fxfa/app/xfa_textpiece.cpp index 933af6c92f..e65cc16667 100644 --- a/xfa/fxfa/app/xfa_textpiece.cpp +++ b/xfa/fxfa/app/xfa_textpiece.cpp @@ -9,12 +9,9 @@ #include "xfa/fxfa/app/cxfa_linkuserdata.h" XFA_TextPiece::XFA_TextPiece() - : pszText(nullptr), pWidths(nullptr), pFont(nullptr), pLinkData(nullptr) {} + : pszText(nullptr), pWidths(nullptr), pFont(nullptr) {} XFA_TextPiece::~XFA_TextPiece() { - if (pLinkData) - pLinkData->Release(); - FX_Free(pszText); FX_Free(pWidths); } |