diff options
author | weili <weili@chromium.org> | 2016-09-12 15:10:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-12 15:10:40 -0700 |
commit | 1a2419931306bb0905465039dfd773e3bac880d0 (patch) | |
tree | 4d4881ebbc5f59f22ab189810f8f6b7b2cf580df /fxjs/cfxjse_runtimedata.h | |
parent | 860a2d0299996d253272d831c9c7e533e9d3e890 (diff) | |
download | pdfium-1a2419931306bb0905465039dfd773e3bac880d0.tar.xz |
Fix leaked value object in NamedPropertySetterCallback()
When setting a new value for a V8 object property, the passed along
pointer of CFXJSE_Value is only used, but needs to be released by the
original owner. Use unique_ptr to have the pointer released
automatically.
BUG=pdfium:242
Review-Url: https://codereview.chromium.org/2328273004
Diffstat (limited to 'fxjs/cfxjse_runtimedata.h')
0 files changed, 0 insertions, 0 deletions