res_rtp_asterisk.c: Fixed memory leak
Added freeifaddrs() for memory releasing. ASTERISK-28904 Change-Id: I109403866e85a30659351946903a679de9727a8f
This commit is contained in:
parent
ed75fd14a3
commit
862b9fcce8
|
@ -3578,6 +3578,7 @@ static void rtp_add_candidates_to_ice(struct ast_rtp_instance *instance, struct
|
|||
pj_sockaddr_get_len(&pjtmp));
|
||||
++count;
|
||||
}
|
||||
freeifaddrs(ifa);
|
||||
}
|
||||
|
||||
/* If configured to use a STUN server to get our external mapped address do so */
|
||||
|
|
Loading…
Reference in New Issue