fix memory leaks

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-16 01:21:59 +00:00
commit ff633b0680
8 changed files with 40 additions and 10 deletions

View file

@ -23,6 +23,10 @@ Foo *create_Foo() {
return new Foo();
}
void delete_Foo(Foo *f) {
delete f;
}
void test1(Foo *f, Integer x) { }
class Bar : public Foo { };