Closed Bug 289367 Opened 20 years ago Closed 20 years ago

CleanResource called at wrong time

Categories

(Firefox :: Migration, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox1.5

People

(Reporter: lvcipriani, Assigned: Gavin)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2


In mozilla/browser/components/migration/src/nsSafariProfileMigrator.cpp
at line 363 there is an extra semicolon:
 
        if (externalApplicationResource);
          CleanResource(mimeTypes, externalApplicationResource);
should be:
        if (externalApplicationResource)
          CleanResource(mimeTypes, externalApplicationResource);


Reproducible: Always
Blocks: SPM
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch PatchSplinter Review
Assignee: bugs → gavin.sharp
Status: NEW → ASSIGNED
Attachment #180188 - Flags: review?(mconnor)
Target Milestone: --- → Firefox1.1
Version: unspecified → Trunk
Comment on attachment 180188 [details] [diff] [review]
Patch

seems sane enough... maybe email ben to check this in. make sure its not
breaking his intended behaviour somehow.
Attachment #180188 - Flags: review?(mconnor) → review+
Whiteboard: [patch-r+] [checkin needed]
yeah this is fine, check in away!
Comment on attachment 180188 [details] [diff] [review]
Patch

one liner, typo fix
Attachment #180188 - Flags: approval-aviary1.1a?
Comment on attachment 180188 [details] [diff] [review]
Patch

a=asa
Attachment #180188 - Flags: approval-aviary1.1a? → approval-aviary1.1a+
Checking in nsSafariProfileMigrator.cpp;
/cvsroot/mozilla/browser/components/migration/src/nsSafariProfileMigrator.cpp,v
 <--  nsSafariProfileMigrator.cpp
new revision: 1.15; previous revision: 1.14
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Whiteboard: [patch-r+] [checkin needed]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: