diff --git a/content/xbl/src/nsXBLPrototypeBinding.cpp b/content/xbl/src/nsXBLPrototypeBinding.cpp index 70349f89745d..89d225e4dbd4 100644 --- a/content/xbl/src/nsXBLPrototypeBinding.cpp +++ b/content/xbl/src/nsXBLPrototypeBinding.cpp @@ -426,7 +426,7 @@ nsXBLPrototypeBinding::BindingDetached(nsIDOMEventReceiver* aReceiver) already_AddRefed nsXBLPrototypeBinding::GetXBLDocumentInfo(nsIContent* aBoundElement) { - nsIXBLDocumentInfo* result; + nsIXBLDocumentInfo* result = nsnull; CallQueryReferent(mXBLDocInfoWeak.get(), &result); // addrefs return result; }