[prev in list] [next in list] [prev in thread] [next in thread]
List: openser-devel
Subject: [sr-dev] git:3.2: modules/pua Fixed memory leaks in limbxml2
From: Daniel-Constantin Mierla <miconda () gmail ! com>
Date: 2012-01-31 13:53:57
Message-ID: 20120131135357.9979CEF8075 () rimmer ! ryngle ! com
[Download RAW message or body]
Module: sip-router
Branch: 3.2
Commit: 77d3b19501d7d0e885f18900021fd9d797230448
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=77d3b19501d7d0e885f18900021fd9d797230448
Author: Anca Vamanu <anca.vamanu@1and1.ro>
Committer: Daniel-Constantin Mierla <miconda@gmail.com>
Date: Thu Jan 26 15:27:21 2012 +0200
modules/pua Fixed memory leaks in limbxml2
(cherry picked from commit 68295d124ee2d36f3e8d31eac5a76c4d7c89f5b8)
---
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 3523cbc..75a28a8 100644
--- a/modules_k/pua/send_publish.c
+++ b/modules_k/pua/send_publish.c
@@ -571,7 +571,7 @@ send_publish:
if( body && ret_code)
{
if(body->s)
- free(body->s);
+ xmlFree(body->s);
pkg_free(body);
}
if(etag.s)
@@ -595,7 +595,7 @@ error:
if(body&& ret_code)
{
if(body->s)
- free(body->s);
+ xmlFree(body->s);
pkg_free(body);
}
if(str_hdr)
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic