minor fixes for valgrind

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-10-20 11:20:41 +00:00
commit a76884513a
4 changed files with 11 additions and 3 deletions

View file

@ -17,6 +17,7 @@
* fixable (needs more investigation).
*/
%newobject create_Foo;
%inline %{
Foo *create_Foo() {
return new Foo();