[mod_lua] Fix leaks.

This commit is contained in:
Andrey Volk committed 2020-01-21 13:27:06 +00:00
1 parent 93fdf2d9d7
commit 4dd86960ba
42 files changed
+685 -375

No files matched your search

+7 -10
View File
@@ -1,13 +1,9 @@
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.10
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_import_helper():
@@ -30,17 +26,18 @@ elif _swig_python_version_info >= (2, 6, 0):
except ImportError:
import _freeswitch
return _freeswitch
if fp is not None:
try:
_mod = imp.load_module('_freeswitch', fp, pathname, description)
finally:
try:
_mod = imp.load_module('_freeswitch', fp, pathname, description)
finally:
if fp is not None:
fp.close()
return _mod
return _mod
_freeswitch = swig_import_helper()
del swig_import_helper
else:
import _freeswitch
del _swig_python_version_info
try:
_swig_property = property
except NameError: