summaryrefslogtreecommitdiff
path: root/channels/chan_mgcp.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2009-04-10 18:02:44 +0000
committerJoshua Colp <jcolp@digium.com>2009-04-10 18:02:44 +0000
commit8e4b5df187d51d7a64532dd6b0c9ea93d3cb2e90 (patch)
tree0541c92580c50ebd237c5e8f81543b5ec71bb515 /channels/chan_mgcp.c
parentdf28954a84f6f161efada39db61ff8a33b4f987a (diff)
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
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 */