Don't leak namespace prefix variable
No real changes, just delete a local variable.
This commit is contained in:
parent
f42b0eaa71
commit
43c7aefeb1
1 changed files with 2 additions and 0 deletions
|
|
@ -1218,6 +1218,8 @@ public:
|
|||
Swig_name_register("type", NewStringf("%s%%c", ns_prefix_));
|
||||
}
|
||||
|
||||
Delete(ns_prefix_);
|
||||
|
||||
if (use_cxx_wrappers) {
|
||||
cxx_wrappers_.initialize();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue