attribute->Release();
FinalizeAttribute(JSContext *cx, JSObject *obj){  nsIDOMAttribute *attribute = (nsIDOMAttribute*)JS_GetPrivate(cx, obj);  NS_ASSERTION(nsnull != attribute, "null pointer");  // get the js object  nsIScriptObjectOwner *owner = nsnull;  if (NS_OK == attribute->QueryInterface(kIScriptObjectOwnerIID, (void**)&owner)) {    owner->ResetScriptObject();    NS_RELEASE(owner);  }  attribute->Release();}