Fix memory leak in the exception example

Delete the object we allocate.
This commit is contained in:
Vadim Zeitlin 2016-04-22 23:40:59 +02:00
commit 55f7d51979

View file

@ -40,6 +40,8 @@ int main() {
}
}
Test_delete(t);
SWIG_exit(0);
}