[Bug other/30653] New: Memory leak in translate_name
wuhui1973 at 21cn dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 31 13:06:00 GMT 2007
In function translate_name, in file gcc-4.1.1\gcc\prefix.c, at line 204,
variable key is allocated a block of memory, however this memory is never
returned to the system, which will casue memory leak. Suggest add "free(key);"
around line 227 just inside the for loop from line 193.
--
Summary: Memory leak in translate_name
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wuhui1973 at 21cn dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30653
More information about the Gcc-bugs
mailing list