diff options
Diffstat (limited to 'cel')
-rw-r--r-- | cel/cel_custom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cel/cel_custom.c b/cel/cel_custom.c index edb009686..0b2ac764f 100644 --- a/cel/cel_custom.c +++ b/cel/cel_custom.c @@ -71,8 +71,10 @@ static AST_RWLIST_HEAD_STATIC(sinks, cel_config); static void free_config(void) { struct cel_config *sink; + while ((sink = AST_RWLIST_REMOVE_HEAD(&sinks, list))) { ast_mutex_destroy(&sink->lock); + ast_string_field_free_memory(sink); ast_free(sink); } } |