diff options
Diffstat (limited to 'main/asterisk.c')
-rw-r--r-- | main/asterisk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index b86587d33..95190e2cf 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -799,8 +799,7 @@ void ast_unregister_atexit(void (*func)(void)) AST_RWLIST_TRAVERSE_SAFE_END; AST_RWLIST_UNLOCK(&atexits); - if (ae) - free(ae); + free(ae); } /* Sending commands from consoles back to the daemon requires a terminating NULL */ |