fix memory leak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b670533614
commit
be4d57cd57
1 changed files with 3 additions and 2 deletions
|
|
@ -30,8 +30,9 @@ public:
|
||||||
throw(Exc(42,"Hosed"));
|
throw(Exc(42,"Hosed"));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
int unknown() throw(A) {
|
int unknown() throw(A*) {
|
||||||
throw A();
|
static A a;
|
||||||
|
throw &a;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
int multi(int x) throw(int, const char *, Exc) {
|
int multi(int x) throw(int, const char *, Exc) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue