Module: sip-router
Branch: master
Commit: 1b53001ad3ad1e9bfd3e64f8e03c35d4e5f54e8d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1b53001…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Jan 20 17:24:18 2014 +0100
tm: free from and to display names that can be set for local request from seas module
- reported and patch by Ziad Habchi
---
modules/tm/dlg.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/tm/dlg.c b/modules/tm/dlg.c
index 647e34f..05e7d48 100644
--- a/modules/tm/dlg.c
+++ b/modules/tm/dlg.c
@@ -1216,6 +1216,9 @@ void free_dlg(dlg_t* _d)
if (_d->rem_target.s) shm_free(_d->rem_target.s);
if (_d->dst_uri.s) shm_free(_d->dst_uri.s);
+ if (_d->loc_dname.s) shm_free(_d->loc_dname.s);
+ if (_d->rem_dname.s) shm_free(_d->rem_dname.s);
+
/* Free all routes in the route set */
shm_free_rr(&_d->route_set);
shm_free(_d);