aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index e7c5ebb04..a4cec6310 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -4487,7 +4487,7 @@ static int update_call_counter(struct sip_pvt *fup, int event)
int outgoing = fup->outgoing_call;
struct sip_user *u = NULL;
struct sip_peer *p = NULL;
- ast_mutex_t *pu_lock;
+ ast_mutex_t *pu_lock = NULL;
ast_debug(3, "Updating call counter for %s call\n", outgoing ? "outgoing" : "incoming");