mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
Close the filespec's stream so we don't keep appending to pref file. Approved by
mcmullen.
This commit is contained in:
parent
fa296bd02b
commit
ce04376897
@ -1305,6 +1305,7 @@ PR_IMPLEMENT(PrefResult) PREF_SavePrefFileSpecWith(
|
||||
}
|
||||
}
|
||||
PR_Free(valueArray);
|
||||
fileSpec->closeStream();
|
||||
return PREF_NOERROR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user