diff --git a/js/src/jslock.cpp b/js/src/jslock.cpp index 041324283ad..eabc790b44c 100644 --- a/js/src/jslock.cpp +++ b/js/src/jslock.cpp @@ -1364,7 +1364,7 @@ js_InitTitle(JSContext *cx, JSTitle *title) { #ifdef JS_THREADSAFE title->ownercx = cx; - PodZero(&title->lock); + js_InitLock(&title->lock); /* * Set u.link = NULL, not u.count = 0, in case the target architecture's