diff --git a/addons/cdr_mysql.c b/addons/cdr_mysql.c index b8d9ce3aff..ebe19ad95d 100644 --- a/addons/cdr_mysql.c +++ b/addons/cdr_mysql.c @@ -517,7 +517,6 @@ static int my_load_module(int reload) } else { calldate_compat = 0; } - ast_free(compat); if (res < 0) { if (reload) {