making sure that we do not empty our segmented buffer if we did not create it
bug fix 19290. submitted by bienvenu, r=dougt. git-svn-id: svn://10.0.0.236/trunk@53958 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4e8d388799
commit
f5f94a1ba7
@ -474,7 +474,8 @@ NS_IMETHODIMP FileImpl::Flush()
|
||||
}
|
||||
}
|
||||
|
||||
mOutBuffer.Empty();
|
||||
if (mGotBuffers)
|
||||
mOutBuffer.Empty();
|
||||
mWriteCursor = nsnull;
|
||||
mWriteLimit = nsnull;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user