mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_rtp_asterisk.c: Fixed memory leak
Added freeifaddrs() for memory releasing. ASTERISK-28904 Change-Id: I109403866e85a30659351946903a679de9727a8f
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user