Don't leak namespace prefix variable

No real changes, just delete a local variable.
This commit is contained in:
Vadim Zeitlin 2021-11-26 01:01:36 +01:00
commit 43c7aefeb1

View file

@ -1218,6 +1218,8 @@ public:
Swig_name_register("type", NewStringf("%s%%c", ns_prefix_));
}
Delete(ns_prefix_);
if (use_cxx_wrappers) {
cxx_wrappers_.initialize();
}