Module: sip-router
Branch: master
Commit: 7728464362af67eff4dc105f16a1d42c72407cca
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7728464…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Dec 23 09:34:00 2011 +0100
tm: rest the pointer of hash table after free to avoid double free on false start
---
modules/tm/h_table.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/tm/h_table.c b/modules/tm/h_table.c
index 18b0857..663b0ea 100644
--- a/modules/tm/h_table.c
+++ b/modules/tm/h_table.c
@@ -444,6 +444,7 @@ void free_hash_table( )
}
}
shm_free(_tm_table);
+ _tm_table = 0;
}
}