Resource leak fixes (or hiding them from Coverity static analysis tool by using String instead of char *)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5a1e82a2f4
commit
46d2486115
12 changed files with 62 additions and 63 deletions
|
|
@ -876,8 +876,10 @@ public:
|
|||
if (Getattr(n, "sym:overloaded")) {
|
||||
// Emit warnings for the few cases that can't be overloaded in Java and give up on generating wrapper
|
||||
Swig_overload_check(n);
|
||||
if (Getattr(n, "overload:ignore"))
|
||||
if (Getattr(n, "overload:ignore")) {
|
||||
DelWrapper(f);
|
||||
return SWIG_OK;
|
||||
}
|
||||
}
|
||||
|
||||
Printf(imclass_class_code, " public final static native %s %s(", im_return_type, overloaded_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue