aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_mgcp.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-10 18:02:44 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-10 18:02:44 +0000
commitf52aa657003ce48f1c2d6452a6750149939a471d (patch)
tree0541c92580c50ebd237c5e8f81543b5ec71bb515 /channels/chan_mgcp.c
parent250420f44fb9808e47dcbca76d2eec3ed4cf9243 (diff)
Fix some uninitialized memory notices that appeared under valgrind.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@187772 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_mgcp.c')
-rw-r--r--channels/chan_mgcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c
index 83a2e61b4..80b939393 100644
--- a/channels/chan_mgcp.c
+++ b/channels/chan_mgcp.c
@@ -2057,7 +2057,7 @@ static int add_sdp(struct mgcp_request *resp, struct mgcp_subchannel *sub, struc
char m[256] = "";
char a[1024] = "";
int x;
- struct sockaddr_in dest;
+ struct sockaddr_in dest = { 0, };
struct mgcp_endpoint *p = sub->parent;
/* XXX We break with the "recommendation" and send our IP, in order that our
peer doesn't have to ast_gethostbyname() us XXX */