Minor logic and memory leak fix.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
afec99c64f
commit
14446c365b
1 changed files with 1 additions and 0 deletions
|
|
@ -3470,6 +3470,7 @@ int Language::abstractClassTest(Node *n) {
|
||||||
String *check_item = Getattr(item, "vmid");
|
String *check_item = Getattr(item, "vmid");
|
||||||
if (Strcmp(method_id, check_item) == 0) {
|
if (Strcmp(method_id, check_item) == 0) {
|
||||||
exists_item = true;
|
exists_item = true;
|
||||||
|
Delete(method_id);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue