Bug 725597 - SafeBrowsing fails to update persistent PrefixSet on Windows. r=dcamp

This commit is contained in:
Gian-Carlo Pascutto
2012-08-15 09:04:51 +02:00
parent 6cb825e03c
commit 9b1aa19356
3 changed files with 10 additions and 2 deletions

View File

@@ -587,7 +587,8 @@ Classifier::ApplyTableUpdates(nsTArray<TableUpdate*>* aUpdates,
#if defined(DEBUG) && defined(PR_LOGGING)
prefixSet->Dump();
#endif
prefixSet->WriteFile();
rv = prefixSet->WriteFile();
NS_ENSURE_SUCCESS(rv, rv);
// This will drop all the temporary storage used during the update.
rv = store->FinishUpdate();