From 24cd4e581a2b7c4e2e04a04fe240cac273d70050 Mon Sep 17 00:00:00 2001 From: "mozilla.mano%sent.com" Date: Mon, 9 May 2005 07:16:34 +0000 Subject: [PATCH] Bug 289367 - CleanResource called at wrong time. patch from Gavin Sharp , r=mconnor, a=asa git-svn-id: svn://10.0.0.236/trunk@173202 18797224-902f-48f8-a5cc-f745e15eee43 --- .../components/migration/src/nsSafariProfileMigrator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/browser/components/migration/src/nsSafariProfileMigrator.cpp b/mozilla/browser/components/migration/src/nsSafariProfileMigrator.cpp index 76392e08595..6bd0f8ee271 100644 --- a/mozilla/browser/components/migration/src/nsSafariProfileMigrator.cpp +++ b/mozilla/browser/components/migration/src/nsSafariProfileMigrator.cpp @@ -360,7 +360,7 @@ nsSafariProfileMigrator::SetDownloadHandlers(void* aTransform, nsIPrefBranch* aB nsCOMPtr externalApplicationResource(do_QueryInterface(externalApplicationNode)); // Strip the resources down so that the datasource is completely flushed. - if (externalApplicationResource); + if (externalApplicationResource) CleanResource(mimeTypes, externalApplicationResource); CleanResource(mimeTypes, handlerPropResource);