Module: sip-router
Branch: master
Commit: 5387288eac896a0710fb1c55cc4837e973e04946
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5387288…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Mon Aug 13 15:48:18 2012 +0100
modules_k/pua: Fixed double-free in pua
---
modules_k/pua/send_subscribe.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules_k/pua/send_subscribe.c b/modules_k/pua/send_subscribe.c
index cd089e6..89a8141 100644
--- a/modules_k/pua/send_subscribe.c
+++ b/modules_k/pua/send_subscribe.c
@@ -623,6 +623,7 @@ faked_error:
presentity->record_route.len= record_route.len;
size+= record_route.len;
pkg_free(record_route.s);
+ record_route.s = NULL;
}
presentity->contact.s= (char*)presentity + size;