aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-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 2e41ac029..bd1feed3c 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -17490,7 +17490,7 @@ static void add_peer_mailboxes(struct sip_peer *peer, const char *value)
strsep(&context, "@");
if (ast_strlen_zero(mbox)) {
- free(mailbox);
+ ast_free(mailbox);
continue;
}
mailbox->mailbox = ast_strdup(mbox);