aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c
index d85f4d7de..eabbfd0f4 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -855,6 +855,8 @@ alertpipe_failed:
sched_context_destroy(tmp->sched);
ast_string_field_free_memory(tmp);
+ ast_free(tmp->cid.cid_name);
+ ast_free(tmp->cid.cid_num);
ast_free(tmp);
return NULL;
} else {