diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-12-23 19:50:24 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-12-23 19:50:24 +0300 |
commit | 3ca8c684ec61d90169321bb8914f9a2e26a6d99c (patch) | |
tree | 42898397c07f2e81354af1bba7f9f368c77a3c0d | |
parent | 50a04aeeed6f34bcb42d22c72183b1851dcf9af7 (diff) | |
download | accel-ppp-3ca8c684ec61d90169321bb8914f9a2e26a6d99c.tar.gz accel-ppp-3ca8c684ec61d90169321bb8914f9a2e26a6d99c.zip |
ppp: cancel delayed procedure call on lcp layer free
-rw-r--r-- | accel-pptpd/ppp/ppp_lcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pptpd/ppp/ppp_lcp.c b/accel-pptpd/ppp/ppp_lcp.c index de38426a..f433ab8a 100644 --- a/accel-pptpd/ppp/ppp_lcp.c +++ b/accel-pptpd/ppp/ppp_lcp.c @@ -148,6 +148,7 @@ void lcp_layer_free(struct ppp_layer_data_t *ld) ppp_unregister_handler(lcp->ppp, &lcp->hnd); lcp_options_free(lcp); ppp_fsm_free(&lcp->fsm); + triton_cancel_call(lcp->ppp->ctrl->ctx, (triton_event_func)_lcp_layer_finished); _free(lcp); } |