diff options
Diffstat (limited to 'funcs/func_devstate.c')
-rw-r--r-- | funcs/func_devstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_devstate.c b/funcs/func_devstate.c index cf6070521..7125ca1b0 100644 --- a/funcs/func_devstate.c +++ b/funcs/func_devstate.c @@ -187,7 +187,7 @@ static int unload_module(void) AST_RWLIST_WRLOCK(&custom_devices); while ((dev = AST_RWLIST_REMOVE_HEAD(&custom_devices, entry))) - free(dev); + ast_free(dev); AST_RWLIST_UNLOCK(&custom_devices); return res; |