Closed Bug 1005652 Opened 7 years ago Closed 7 years ago

Clang Static Analysis: Memory allocated by 'new' should be deallocated by 'delete', not free() r=bsmedberg

Categories

(Firefox Build System :: Source Code Analysis, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla32

People

(Reporter: sblin, Assigned: sblin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

Attached patch dom-minor-fix.diff (obsolete) — Splinter Review
+++ This bug was initially created as a clone of Bug #1003975 +++

The attached patch fixes a warning detected by scan-build, the clang static analyzer.
Attachment #8417041 - Flags: review?(benjamin)
Attachment #8417041 - Flags: review?(benjamin) → review+
Attachment #8417041 - Flags: checkin?
Comment on attachment 8417041 [details] [diff] [review]
dom-minor-fix.diff

Please give this patch a more descriptive commit message below the guidelines below.
https://developer.mozilla.org/en-US/docs/Developer_Guide/Committing_Rules_and_Responsibilities#Checkin_comment

Also, please use the checkin-needed bug keyword in the future :)
Attachment #8417041 - Flags: checkin?
Attached patch dom-minor-fix.diff (obsolete) — Splinter Review
Attachment #8417041 - Attachment is obsolete: true
Attachment #8418016 - Flags: review+
Summary: Clang Static Analysis: Memory allocated by 'new' should be deallocated by 'delete', not free() → Clang Static Analysis: Memory allocated by 'new' should be deallocated by 'delete', not free() r=bsmedberg
Attachment #8418016 - Attachment is obsolete: true
Attachment #8418017 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/e436a3c3dcb3
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.