From adc2c9568824855dcee5b46e84e4246bf4eeaa9e Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Tue, 9 Jun 2015 10:20:54 +0200 Subject: [PATCH] Bug 1172824: Initialize a few more members in VerifyPreTracer (CID 1304706); r=terrence --- js/src/gc/Verifier.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/gc/Verifier.cpp b/js/src/gc/Verifier.cpp index 57a3cb8a69c..0225d9c7f87 100644 --- a/js/src/gc/Verifier.cpp +++ b/js/src/gc/Verifier.cpp @@ -98,7 +98,8 @@ class js::VerifyPreTracer : public JS::CallbackTracer NodeMap nodemap; explicit VerifyPreTracer(JSRuntime* rt) - : JS::CallbackTracer(rt), noggc(rt), number(rt->gc.gcNumber()), count(0), root(nullptr) + : JS::CallbackTracer(rt), noggc(rt), number(rt->gc.gcNumber()), count(0), curnode(nullptr), + root(nullptr), edgeptr(nullptr), term(nullptr) {} ~VerifyPreTracer() {