diff options
Diffstat (limited to 'src/irmd/main.c')
-rw-r--r-- | src/irmd/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index df93c75a..c33ba3e6 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -1693,8 +1693,7 @@ void * irm_sanitize() continue; LOG_DBG("Dead AP-I removed from: %d %s.", a->pid, e->name); - list_del(&a->next); - free(a); + reg_entry_del_api(e, a->pid); } } |