Closed
Bug 679615
Opened 13 years ago
Closed 13 years ago
Remove config/gtscc.c
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla9
People
(Reporter: david.volgyes, Assigned: matjk7)
References
Details
Attachments
(1 file)
63.18 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0 Build ID: 20110812233755 Steps to reproduce: cppcheck found some memory leak in gtscc.c. Actual results: These are the reported leaks: [firefox-src/config/gtscc.c:764]: (error) Memory leak: source [firefox-src/config/gtscc.c:764]: (error) Memory leak: object [firefox-src/config/gtscc.c:1247]: (error) Memory leak: archive [firefox-src/config/gtscc.c:2506]: (error) Memory leak: table [firefox-src/config/gtscc.c:2506]: (error) Memory leak: dmap Expected results: You should release the objects before exit point. However, these bugs are not too importants, because the itself a program, and the memory will be released, when the program ends.
Updated•13 years ago
|
Component: General → Build Config
QA Contact: general → build.config
Comment 1•13 years ago
|
||
There aren't even rules to build that program.
Comment 2•13 years ago
|
||
And the rules to do so have been removed in ... 1999. http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=Makefile.in&branch=3.26&root=/cvsroot&subdir=mozilla/config&command=DIFF_FRAMESET&rev1=3.25&rev2=3.26
Comment 3•13 years ago
|
||
Someone should just hg rm it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: memory leaks in config/gtscc.c → Remove config/gtscc.c
Comment 4•13 years ago
|
||
and remove the reference in the packager.mk.
Reporter | ||
Comment 5•13 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #1) > There aren't even rules to build that program. That highlights a drawback of cppcheck: cppcheck does not use makefile (or other rule file), it is just scan all the source files, so it produces warning for unused files too. Maybe a cleanup would be useful. Probably there are some other unused files in the trunk.
Assignee | ||
Comment 6•13 years ago
|
||
Attachment #553969 -
Flags: review?(ted.mielczarek)
Updated•13 years ago
|
Assignee: nobody → matjk7
Status: NEW → ASSIGNED
Comment 7•13 years ago
|
||
Comment on attachment 553969 [details] [diff] [review] patch Review of attachment 553969 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #553969 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Updated•13 years ago
|
Comment 8•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/5d5f7e60a322
Flags: in-testsuite-
Target Milestone: --- → Firefox 9
Updated•13 years ago
|
Keywords: checkin-needed
Comment 9•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/5d5f7e60a322
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
Updated•5 years ago
|
Target Milestone: Firefox 9 → mozilla9
You need to log in
before you can comment on or make changes to this bug.
Description
•