diff --git a/content/xbl/src/nsXBLBinding.cpp b/content/xbl/src/nsXBLBinding.cpp index ecac6bd6c29f..fa3f89d49683 100644 --- a/content/xbl/src/nsXBLBinding.cpp +++ b/content/xbl/src/nsXBLBinding.cpp @@ -222,6 +222,8 @@ nsXBLBinding::nsXBLBinding(void) nsXBLBinding::~nsXBLBinding(void) { + delete mAttributeTable; + gRefCnt--; if (gRefCnt == 0) { NS_RELEASE(kContentAtom); diff --git a/layout/xbl/src/nsXBLBinding.cpp b/layout/xbl/src/nsXBLBinding.cpp index ecac6bd6c29f..fa3f89d49683 100644 --- a/layout/xbl/src/nsXBLBinding.cpp +++ b/layout/xbl/src/nsXBLBinding.cpp @@ -222,6 +222,8 @@ nsXBLBinding::nsXBLBinding(void) nsXBLBinding::~nsXBLBinding(void) { + delete mAttributeTable; + gRefCnt--; if (gRefCnt == 0) { NS_RELEASE(kContentAtom);