DescriptionFix 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
Committed: https://pdfium.googlesource.com/pdfium/+/1a2419931306bb0905465039dfd773e3bac880d0
Patch Set 1 #
Messages
Total messages: 11 (7 generated)
|