mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Fix mismatched allocation/deallocation routines for the buffer in nsBufferedStream.
This commit is contained in:
parent
45e6de7d85
commit
e86d8d8bd5
@ -212,7 +212,7 @@ nsBufferedStream::~nsBufferedStream()
|
||||
TRACEMSG(("nsBufferedStream is being destroyed...\n"));
|
||||
|
||||
if (m_Buffer) {
|
||||
free(m_Buffer);
|
||||
delete (m_Buffer);
|
||||
m_Buffer = NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user