зеркало из https://github.com/mozilla/pjs.git
Doh! This is what i ment to do. (Bug 195350)
This commit is contained in:
Родитель
5293b3bcec
Коммит
b174c837c9
|
@ -92,7 +92,7 @@ void* nsMappedAttributes::operator new(size_t aSize, PRUint32 aAttrCount)
|
|||
|
||||
// aSize will include the mAttrs buffer so subtract that.
|
||||
void* newAttrs = ::operator new(aSize - sizeof(void*[1]) +
|
||||
(aAttrCount - 1) * sizeof(InternalAttr));
|
||||
aAttrCount * sizeof(InternalAttr));
|
||||
|
||||
#ifdef DEBUG
|
||||
if (newAttrs) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче