diff options
Diffstat (limited to 'accel-pppd/triton/md.c')
-rw-r--r-- | accel-pppd/triton/md.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/triton/md.c b/accel-pppd/triton/md.c index 6c1092d0..c9ec32e6 100644 --- a/accel-pppd/triton/md.c +++ b/accel-pppd/triton/md.c @@ -152,6 +152,8 @@ void __export triton_md_unregister_handler(struct triton_md_handler_t *ud) list_add_tail(&h->entry, &freed_list); pthread_mutex_unlock(&freed_list_lock); + ud->tpd = NULL; + triton_stat.md_handler_count--; } int __export triton_md_enable_handler(struct triton_md_handler_t *ud, int mode) |