summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_interform.cpp
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-09-12 15:15:19 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-12 15:15:19 -0700
commit9de00fdc4d4e4dba9e754b337a05809482e4fea2 (patch)
tree9b392de00997ccf43da0456bd2c13e50ffa05839 /core/fpdfdoc/cpdf_interform.cpp
parent1a2419931306bb0905465039dfd773e3bac880d0 (diff)
downloadpdfium-9de00fdc4d4e4dba9e754b337a05809482e4fea2.tar.xz
Fix some leaks associated with memory allocatorchromium/2859
Use CFX_DefStore to only replace CFX_FixedStore, but not CFX_StaticStore, since CFX_StaticStore has different behaviors. CFX_StaticStore doesn't require its users to explicitly call free(), it frees all the allocated memory during destruction. Use CFX_DefStore to replace CFX_StaticStore would cause leaks. Also remove two undeclared, but defined, functions. BUG=pdfium:242 Review-Url: https://codereview.chromium.org/2328403002
Diffstat (limited to 'core/fpdfdoc/cpdf_interform.cpp')
0 files changed, 0 insertions, 0 deletions