diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-05-04 10:35:37 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-05-04 09:12:34 +0000 |
commit | 365d43a22050a4ea69e36b8d1033bf6ab3189264 (patch) | |
tree | 8212b8ebac052c7b19bff8e7923090d45c6b0655 /tests/benchmarks/script/qjsvalue/tst_qjsvalue.cpp | |
parent | a69edf01cb0a2a06282dc7b89724ffa542f6546d (diff) |
Fix a QJSValue benchmark
The benchmark added the tst_QJSValue instance driving the benchmark to
the engine, which then takes over ownership. This would result in a
use-after-free, leading to a crash.
Change-Id: I524445487a1dabb3fb3fbbfb7fca084f7736c124
Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
Diffstat (limited to 'tests/benchmarks/script/qjsvalue/tst_qjsvalue.cpp')
0 files changed, 0 insertions, 0 deletions