Don't delete variables twice.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
78ccc8f228
commit
ed402ceb37
1 changed files with 2 additions and 2 deletions
|
|
@ -11,8 +11,8 @@ int main(int argc, const char *argv[]) {
|
|||
assert(E_foo(e) == 0);
|
||||
|
||||
delete_B(b);
|
||||
delete_D((D*)b);
|
||||
delete_E((E*)b);
|
||||
delete_D(d);
|
||||
delete_E(e);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue