aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--channels/chan_sip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 33758d3d3..b512cd974 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -7021,7 +7021,9 @@ static int sip_refer_allocate(struct sip_pvt *p)
*/
static int transmit_refer(struct sip_pvt *p, const char *dest)
{
- struct sip_request req;
+ struct sip_request req = {
+ .headers = 0,
+ };
char from[256];
const char *of;
char *c;