summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/resource.h
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 /fpdfsdk/src/resource.h
parent1a2419931306bb0905465039dfd773e3bac880d0 (diff)
downloadpdfium-chromium/2859.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 'fpdfsdk/src/resource.h')
0 files changed, 0 insertions, 0 deletions