summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-11-01 15:56:25 +0000
committerRussell Bryant <russell@russellbryant.com>2007-11-01 15:56:25 +0000
commit1c7eb1d82bf4548b668d63fc3bb7c10e113a350f (patch)
tree6f3bc85dde5ccceeb5d95a5d65eb971ed5db11ba /channels/chan_sip.c
parentcac97aa8b47092c7160b50f36f660aa9984e9156 (diff)
Change some uses of free() to ast_free(). (No functional differences.)
(closes issue #11138) Reported by: eliel Patches: pbx_dundi.c.patch uploaded by eliel (license 64) chan_sip.c.patch uploaded by eliel (license 64) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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);