summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/sstp/sstp.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/sstp/sstp.c')
-rw-r--r--accel-pppd/ctrl/sstp/sstp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/sstp/sstp.c b/accel-pppd/ctrl/sstp/sstp.c
index b6aa70e0..21787ea6 100644
--- a/accel-pppd/ctrl/sstp/sstp.c
+++ b/accel-pppd/ctrl/sstp/sstp.c
@@ -1701,6 +1701,8 @@ static void sstp_disconnect(struct sstp_conn_t *conn)
}
// triton_event_fire(EV_CTRL_FINISHED, &conn->ppp.ses);
+ triton_context_unregister(&conn->ctx);
+
_free(conn->nonce);
if (conn->stream)