Module: sip-router
Branch: master
Commit: 222066ba16ec4b2064c4fc50e533e27f4c4fb74d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=222066b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Mar 29 12:19:36 2013 +0100
app_lua: clean local reload array and shut down
---
modules/app_lua/app_lua_api.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules/app_lua/app_lua_api.c b/modules/app_lua/app_lua_api.c
index 0ec9123..78a98e4 100644
--- a/modules/app_lua/app_lua_api.c
+++ b/modules/app_lua/app_lua_api.c
@@ -357,6 +357,11 @@ void lua_sr_destroy(void)
lock_set_dealloc( sr_lua_locks );
sr_lua_locks = 0;
}
+
+ if(_app_lua_sv!=NULL) {
+ pkg_free(_app_lua_sv);
+ _app_lua_sv = 0;
+ }
}
/**