Module: sip-router
Branch: master
Commit: c1240aa21a534f1c1a5bdaaebd9c29fe4984a4bb
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c1240aa…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Wed Aug 8 12:05:44 2012 +0100
modules_k/rls: Fixed memory leak in RLS
- Leak only happens when there is more than one Record-Route: header
- Fixed by Hugh Waite @ Crocodile RCS
---
modules_k/rls/notify.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/rls/notify.c b/modules_k/rls/notify.c
index b923add..c8eb230 100644
--- a/modules_k/rls/notify.c
+++ b/modules_k/rls/notify.c
@@ -760,7 +760,7 @@ void rls_free_td(dlg_t* td)
pkg_free(td->rem_uri.s);
if(td->route_set)
- pkg_free(td->route_set);
+ free_rr(&td->route_set);
pkg_free(td);
}