Bug 47171

Summary: [cppcheck][PATCH] found a resource leak in gcc/gcc/java/resource.c
Product: gcc Reporter: Martin Ettl <ettl.martin>
Component: javaAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: unknown   
Target Milestone: ---   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed:
Attachments: proposed patch to fix the issue

Description Martin Ettl 2011-01-04 16:25:36 UTC
Created attachment 22901 [details]
proposed patch to fix the issue

during a check of gcc's sources with the static code analysis tool cppcheck
(http://sourceforge.net/projects/cppcheck/) the tool discoverd resource leaks 
in file gcc/gcc/java/resource.c . Please refer the attached patch
that fixes the issue.

Best regards from the cppcheck team

Ettl Martin
Comment 1 Andrew Pinski 2016-09-30 22:49:33 UTC
Closing as won't fix as the Java front-end has been removed from the trunk.