summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-09-12 15:10:40 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-12 15:10:40 -0700
commit1a2419931306bb0905465039dfd773e3bac880d0 (patch)
tree4d4881ebbc5f59f22ab189810f8f6b7b2cf580df /fpdfsdk/pdfwindow
parent860a2d0299996d253272d831c9c7e533e9d3e890 (diff)
downloadpdfium-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 'fpdfsdk/pdfwindow')
0 files changed, 0 insertions, 0 deletions