Fix incorrect object deletion in C# module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
766128065f
commit
b989e43922
1 changed files with 0 additions and 3 deletions
|
|
@ -3655,8 +3655,6 @@ public:
|
|||
if (!ignored_method)
|
||||
Printf(w->code, "%s\n", tm);
|
||||
|
||||
Delete(tm);
|
||||
|
||||
/* Add C type to callback typedef */
|
||||
if (i > 0)
|
||||
Printf(callback_typedef_parms, ", ");
|
||||
|
|
@ -3788,7 +3786,6 @@ public:
|
|||
Printf(callback_code, " return %s;\n", tm);
|
||||
}
|
||||
|
||||
Delete(tm);
|
||||
Delete(tp);
|
||||
} else
|
||||
Printf(callback_code, " %s;\n", upcall);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue