Closed
Bug 451497
Opened 17 years ago
Closed 6 years ago
Dehydra: Report (all) bad |ns*String| (and |nsCOMPtr|) usages
Categories
(Developer Infrastructure :: Source Code Analysis, enhancement)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: sgautherie, Unassigned)
Details
(In addition to bug 451491,)
We briefly discussed some cases to add to the static analysis
<xpcom/analysis/stack.js> or others.
At a starting point,
I'm interested in bugs like bug 52352 (which I got patches landed then backed out due to ("triggered") leaks) and bug 450174,
IIRC, Mark wrote that
"nsCOMPtr & ns*String shouldn't be static because they don't get cleaned up right"
Unless there would be a way to fix them to cleanup right, they should be reported as bad usages.
There are probably other wrong patterns.
***
In addition to this, is there (already) a page which lists what is wrong and currently look for by this tool ?
(And possibly, suggestions to fix these cases.)
Updated•7 years ago
|
Product: Core → Firefox Build System
Comment 1•6 years ago
|
||
10 years without any activity. I think we can live without it.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•