Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd
This commit is contained in:
@@ -114,11 +114,9 @@ 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.
|
||||
NS_LogDtor(aData, "StringAdopt", 1);
|
||||
#endif // NS_BUILD_REFCNT_LOGGING
|
||||
MOZ_LOG_DTOR(aData, "StringAdopt", 1);
|
||||
}
|
||||
// otherwise, nothing to do.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user