[sr-dev] git:master: parser/sdp: fixed freeing of ice attributes

Juha Heinanen jh at tutpro.com
Wed Jan 2 08:18:53 CET 2013


Module: sip-router
Branch: master
Commit: 35bc07e6a13e12aba519be8bde1a1e1dc06a1d94
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=35bc07e6a13e12aba519be8bde1a1e1dc06a1d94

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Wed Jan  2 09:13:00 2013 +0200

parser/sdp: fixed freeing of ice attributes

---

 parser/sdp/sdp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/parser/sdp/sdp.c b/parser/sdp/sdp.c
index 93440bf..67174b5 100644
--- a/parser/sdp/sdp.c
+++ b/parser/sdp/sdp.c
@@ -810,7 +810,7 @@ void free_sdp(sdp_info_t** _sdp)
 			while (l_stream->ice_attr) {
 			    tmp = l_stream->ice_attr->next;
 			    pkg_free(l_stream->ice_attr);
-			    l_stream->ice_attr->next = tmp;
+			    l_stream->ice_attr = tmp;
 			}
 			pkg_free(l_stream);
 		}




More information about the sr-dev mailing list