mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
Fri Apr 4 11:14:04 EDT 2008 Pekka.Pessi@nokia.com
* su_addrinfo.c: avoid crash in su_freeaddrinfo() if ai is NULL git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8021 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
0c0f2b8005
commit
41fcf45a8f
@ -805,6 +805,9 @@ freeaddrinfo(ai)
|
||||
{
|
||||
struct addrinfo *next;
|
||||
|
||||
if (ai == NULL)
|
||||
return;
|
||||
|
||||
do {
|
||||
next = ai->ai_next;
|
||||
if (ai->ai_canonname)
|
||||
|
Loading…
x
Reference in New Issue
Block a user