Merged revisions 334954 via svnmerge from
[asterisk/asterisk.git] / main / logger.c
index 0c8cdfc..5027bcb 100644 (file)
@@ -1666,7 +1666,7 @@ void ast_logger_unregister_level(const char *name)
 
                global_logmask &= ~(1 << x);
 
-               free(levels[x]);
+               ast_free(levels[x]);
                levels[x] = NULL;
                AST_RWLIST_UNLOCK(&logchannels);