Fix typo in code (found by cppcheck)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2010-12-16 12:54:01 +00:00
commit c6f3ac5420

View file

@ -10,7 +10,7 @@ SCM test_create()
newobj = new A();
type = SWIG_TypeQuery("A *");
result = SWIG_NewPointerObj(result, type, 1);
result = SWIG_NewPointerObj(newobj, type, 1);
return result;
#undef FUNC_NAME