mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
prevent crash on startup.
This commit is contained in:
parent
67de3ab9cf
commit
f33fc09d0a
@ -545,6 +545,7 @@ nsresult nsExpatTokenizer::LoadStream(nsIInputStream* in,
|
||||
in,
|
||||
aCount,
|
||||
utf8);
|
||||
if (NS_FAILED(res)) return res;
|
||||
|
||||
PRUint32 aReadCount = 0;
|
||||
uniBuf = (PRUnichar *) PR_Malloc(bufsize);
|
||||
|
@ -545,6 +545,7 @@ nsresult nsExpatTokenizer::LoadStream(nsIInputStream* in,
|
||||
in,
|
||||
aCount,
|
||||
utf8);
|
||||
if (NS_FAILED(res)) return res;
|
||||
|
||||
PRUint32 aReadCount = 0;
|
||||
uniBuf = (PRUnichar *) PR_Malloc(bufsize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user