Closed Bug 679615 Opened 14 years ago Closed 14 years ago

Remove config/gtscc.c

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla9

People

(Reporter: david.volgyes, Assigned: matjk7)

References

Details

Attachments

(1 file)

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.
Blocks: cppcheck
Component: General → Build Config
QA Contact: general → build.config
There aren't even rules to build that program.
Someone should just hg rm it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: memory leaks in config/gtscc.c → Remove config/gtscc.c
and remove the reference in the packager.mk.
(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.
Attached patch patchSplinter Review
Attachment #553969 - Flags: review?(ted.mielczarek)
Assignee: nobody → matjk7
Status: NEW → ASSIGNED
Comment on attachment 553969 [details] [diff] [review] patch Review of attachment 553969 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #553969 - Flags: review?(ted.mielczarek) → review+
Keywords: checkin-needed
OS: Linux → All
Hardware: x86_64 → All
Flags: in-testsuite-
Target Milestone: --- → Firefox 9
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: Build Config → General
Product: Firefox → Firefox Build System
Target Milestone: Firefox 9 → mozilla9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: