Fix #2894405 - assertion when using -xmlout.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2010-02-05 22:22:35 +00:00
commit 751b8d3b45
3 changed files with 11 additions and 2 deletions

View file

@ -196,7 +196,8 @@ int main(int margc, char **margv) {
dl = (fac) ();
}
}
int res = SWIG_main(argc, argv, dl);
delete dl;
return res;
}