Fix mismatched allocation/deallocation routines for the buffer in nsBufferedStream.

This commit is contained in:
mscott%netscape.com 1999-04-06 03:26:23 +00:00
parent 45e6de7d85
commit e86d8d8bd5

View File

@ -212,7 +212,7 @@ nsBufferedStream::~nsBufferedStream()
TRACEMSG(("nsBufferedStream is being destroyed...\n"));
if (m_Buffer) {
free(m_Buffer);
delete (m_Buffer);
m_Buffer = NULL;
}
}