Module: sip-router
Branch: master
Commit: 68295d124ee2d36f3e8d31eac5a76c4d7c89f5b8
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=68295d1…
Author: Anca Vamanu <anca.vamanu(a)1and1.ro>
Committer: Anca Vamanu <anca.vamanu(a)1and1.ro>
Date: Thu Jan 26 15:27:21 2012 +0200
modules/pua Fixed memory leaks in limbxml2
---
modules_k/pua/send_publish.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/pua/send_publish.c b/modules_k/pua/send_publish.c
index 6205994..6bc5d89 100644
--- a/modules_k/pua/send_publish.c
+++ b/modules_k/pua/send_publish.c
@@ -663,7 +663,7 @@ send_publish:
if( body && ret_code)
{
if(body->s)
- free(body->s);
+ xmlFree(body->s);
pkg_free(body);
}
if(etag.s)
@@ -688,7 +688,7 @@ error:
if(body&& ret_code)
{
if(body->s)
- free(body->s);
+ xmlFree(body->s);
pkg_free(body);
}
if(str_hdr)