Closed Bug 793549 Opened 12 years ago Closed 12 years ago

Valgrind on tbpl detects leak at realloc (145 bytes in 1 blocks are definitely lost) with GrowStuff on the stack

Categories

(Core :: XPCOM, defect)

All
Linux
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: gkw, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: valgrind)

Attachments

(1 file, 1 obsolete file)

Attached file Valgrind stack (obsolete) —
Valgrind detects a leak of 145 bytes at realloc with GrowStuff on the stack, see attached snippet which comes from: https://tbpl.mozilla.org/php/getParsedLog.php?id=15458553&tree=Firefox&full=1 Guessing Core:XPCOM component, please change if necessary.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Is there a (valgrind.h) annotation for "I expect this to leak"? Or should we just add this to the Valgrind suppression file?
No, there's no such annotation. You just have to suppress it in the normal way.
Or maybe Valgrind should intercept setenv?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: