Index: cdr_addon_mysql.c =================================================================== --- cdr_addon_mysql.c (revision 487) +++ cdr_addon_mysql.c (working copy) @@ -288,8 +288,8 @@ AST_LIST_LOCK(&unload_strings); while ((us = AST_LIST_REMOVE_HEAD(&unload_strings, entry))) { - free(us->str); - free(us); + ast_free(us->str); + ast_free(us); } AST_LIST_UNLOCK(&unload_strings); @@ -308,7 +308,7 @@ return -1; if (!(*field = ast_str_create(16))) { - free(us); + ast_free(us); return -1; }