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 <[email protected]>
Committer: Juha Heinanen <[email protected]>
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);
                }


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to