Bug 47171 - [cppcheck][PATCH] found a resource leak in gcc/gcc/java/resource.c
Summary: [cppcheck][PATCH] found a resource leak in gcc/gcc/java/resource.c
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 16:25 UTC by Martin Ettl
Modified: 2011-01-04 16:25 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
proposed patch to fix the issue (230 bytes, patch)
2011-01-04 16:25 UTC, Martin Ettl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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