Fix a bunch of minor bugs found by Coverity scanner
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
64ca4638ab
commit
fb51964d01
16 changed files with 99 additions and 40 deletions
|
|
@ -248,8 +248,10 @@ public:
|
|||
if (Getattr(n, "sym:overloaded")) {
|
||||
overname = Getattr(n, "sym:overname");
|
||||
} else {
|
||||
if (!addSymbol(iname, n))
|
||||
if (!addSymbol(iname, n)) {
|
||||
DelWrapper(f);
|
||||
return SWIG_ERROR;
|
||||
}
|
||||
}
|
||||
if (overname) {
|
||||
Append(wname, overname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue