diff options
author | weili <weili@chromium.org> | 2016-09-12 15:15:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-12 15:15:19 -0700 |
commit | 9de00fdc4d4e4dba9e754b337a05809482e4fea2 (patch) | |
tree | 9b392de00997ccf43da0456bd2c13e50ffa05839 /fpdfsdk/javascript | |
parent | 1a2419931306bb0905465039dfd773e3bac880d0 (diff) | |
download | pdfium-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 'fpdfsdk/javascript')
0 files changed, 0 insertions, 0 deletions