Merge to XFA: Fix memory leak in FXJS_ReleaseRuntime.
authorOliver Chang <ochang@chromium.org>
Tue, 27 Oct 2015 16:34:49 +0000 (09:34 -0700)
committerOliver Chang <ochang@chromium.org>
Tue, 27 Oct 2015 16:34:49 +0000 (09:34 -0700)
commit8f16b69981730911aa6185451e4899137cc4fca2
tree1f2c8dc4dd446a204e14869b84bd60a949f2e7ce
parent431ba1865443e5cba4dabc74e61ece4daba11b5b
Merge to XFA: Fix memory leak in FXJS_ReleaseRuntime.

Should fix a bunch of JS related memory leaks reported by LSan/DrMemory.

Clean merge.

TBR=tsepez@chromium.org
BUG=pdfium:242

Review URL: https://codereview.chromium.org/1417973009 .

(cherry picked from commit fbbb3c3de517309b6808d7a8f4c441aa0abf7065)

Review URL: https://codereview.chromium.org/1406053006 .
fpdfsdk/src/jsapi/fxjs_v8.cpp