diff options
Diffstat (limited to 'main/cel.c')
-rw-r--r-- | main/cel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/cel.c b/main/cel.c index 7f5c24f40..ef37a1196 100644 --- a/main/cel.c +++ b/main/cel.c @@ -417,7 +417,7 @@ struct ast_channel *ast_cel_fabricate_channel_from_event(const struct ast_event /* first, get the variables from the event */ if (ast_cel_fill_record(event, &record)) { - ast_channel_release(tchan); + ast_channel_unref(tchan); return NULL; } |