Backed out changeset 0f5799df920b (bug 1093934) for various test failures CLOSED TREE

This commit is contained in:
Wes Kocher
2015-04-02 13:42:34 -07:00
parent 0018d4938d
commit b4465e0af8
31 changed files with 31 additions and 639 deletions

View File

@@ -114,9 +114,11 @@ ReleaseData(void* aData, uint32_t aFlags)
} else if (aFlags & nsSubstring::F_OWNED) {
free(aData);
STRING_STAT_INCREMENT(AdoptFree);
#ifdef NS_BUILD_REFCNT_LOGGING
// Treat this as destruction of a "StringAdopt" object for leak
// tracking purposes.
MOZ_LOG_DTOR(aData, "StringAdopt", 1);
NS_LogDtor(aData, "StringAdopt", 1);
#endif // NS_BUILD_REFCNT_LOGGING
}
// otherwise, nothing to do.
}