[sr-dev] git:alexh/for4.0: modules_k/kex: call pkg_proc_stats_destroy in module destroy function to free memory

Alex Hermann alex at speakup.nl
Tue Jan 8 13:00:03 CET 2013


Module: sip-router
Branch: alexh/for4.0
Commit: 7ca4fb63f87c686f29f1a19715a014db2ebda703
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7ca4fb63f87c686f29f1a19715a014db2ebda703

Author: Alex Hermann <alex at speakup.nl>
Committer: Alex Hermann <alex at speakup.nl>
Date:   Mon Nov  5 13:33:27 2012 +0100

modules_k/kex: call pkg_proc_stats_destroy in module destroy function to free memory

---

 modules_k/kex/kex_mod.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules_k/kex/kex_mod.c b/modules_k/kex/kex_mod.c
index 8dafb7f..fe3c8eb 100644
--- a/modules_k/kex/kex_mod.c
+++ b/modules_k/kex/kex_mod.c
@@ -167,6 +167,7 @@ static int child_init(int rank)
  */
 static void destroy(void)
 {
+	pkg_proc_stats_destroy();
 	return;
 }
 




More information about the sr-dev mailing list