mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix some uninitialized memory notices that appeared under valgrind.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@187772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -770,7 +770,7 @@ static int gtalk_create_candidates(struct gtalk *client, struct gtalk_pvt *p, ch
|
||||
struct gtalk_candidate *tmp;
|
||||
struct aji_client *c = client->connection;
|
||||
struct gtalk_candidate *ours1 = NULL, *ours2 = NULL;
|
||||
struct sockaddr_in sin;
|
||||
struct sockaddr_in sin = { 0, };
|
||||
struct sockaddr_in dest;
|
||||
struct in_addr us;
|
||||
iks *iq, *gtalk, *candidate, *transport;
|
||||
@@ -1254,8 +1254,8 @@ static int gtalk_update_stun(struct gtalk *client, struct gtalk_pvt *p)
|
||||
struct gtalk_candidate *tmp;
|
||||
struct hostent *hp;
|
||||
struct ast_hostent ahp;
|
||||
struct sockaddr_in sin;
|
||||
struct sockaddr_in aux;
|
||||
struct sockaddr_in sin = { 0, };
|
||||
struct sockaddr_in aux = { 0, };
|
||||
|
||||
if (time(NULL) == p->laststun)
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user