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

RESOLVED FIXED in mozilla32

Status

defect
RESOLVED FIXED
5 years ago
Last year

People

(Reporter: sblin, Assigned: sblin)

Tracking

(Blocks 1 bug)

unspecified
mozilla32
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 2 obsolete attachments)

Posted 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)

Updated

5 years ago
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?
Posted 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: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32

Updated

Last year
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.