aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-01 15:56:25 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-01 15:56:25 +0000
commit54e5e5a73e56bcc9e1282c692bbd9c8bec59f84b (patch)
tree6f3bc85dde5ccceeb5d95a5d65eb971ed5db11ba /channels
parentd8a12a9c6b566c6179550fedb537609164b70482 (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: http://svn.digium.com/svn/asterisk/trunk@88077 f38db490-d61c-443f-a65b-d21fe96a405b
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 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);