diff options
Diffstat (limited to 'core/fxcrt')
-rw-r--r-- | core/fxcrt/cfx_string_data_template.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fxcrt/cfx_string_data_template.h b/core/fxcrt/cfx_string_data_template.h index 33013fde33..5167e31b5a 100644 --- a/core/fxcrt/cfx_string_data_template.h +++ b/core/fxcrt/cfx_string_data_template.h @@ -55,7 +55,8 @@ class CFX_StringDataTemplate { void Retain() { ++m_nRefs; } void Release() { if (--m_nRefs <= 0) - pdfium::base::PartitionFree(this); + pdfium::base::PartitionFreeGeneric(gStringPartitionAllocator.root(), + this); } bool CanOperateInPlace(FX_STRSIZE nTotalLen) const { |