Memory leaks in compiler
Tom Tromey
tromey@redhat.com
Wed Jan 16 21:45:00 GMT 2008
>>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:
Kaveh> A valgrind suppression only silences the error for valgrind. What if
Kaveh> someone uses another memory checking tool? Better to fix it for real
Kaveh> IMHO.
Add suppressions for all of them. Any decent memory checker has to
account for the reality that many programs don't bother freeing memory
before exit.
Or, to put it another way, why add this free and not, say, something
to free all the other memory allocated by gcc which is live at exit?
I think there are a lot of instances of this.
Tom
More information about the Gcc
mailing list