mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 18:24:02 +00:00
fix some v-card error handling, sr=mscott 334384
This commit is contained in:
parent
a665b1c4b7
commit
9d31bba6bc
@ -940,8 +940,10 @@ static char * lexGetDataFromBase64()
|
||||
} else if ((c == ' ') || (c == '\t')) {
|
||||
continue;
|
||||
} else { /* error condition */
|
||||
PR_FREEIF (bytes);
|
||||
PR_FREEIF(oldBytes);
|
||||
if (bytes)
|
||||
PR_Free (bytes);
|
||||
else if (oldBytes)
|
||||
PR_Free (oldBytes);
|
||||
/* error recovery: skip until 2 adjacent newlines. */
|
||||
DBG_(("db: invalid character 0x%x '%c'\n", c,c));
|
||||
if (c != EOF) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user