summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorVladislav Grishenko <themiron@mail.ru>2017-12-16 01:44:33 +0500
committerVladislav Grishenko <themiron@mail.ru>2017-12-30 22:49:45 +0500
commit7e704a12a28ee31a40b27778631b0006df65411f (patch)
tree5538b04b03b32dcb0fc6fd8e04d2b8cc206f3c9c /accel-pppd
parent384c2453e399226bf09f3846d5f9940868edaed9 (diff)
downloadaccel-ppp-7e704a12a28ee31a40b27778631b0006df65411f.tar.gz
accel-ppp-7e704a12a28ee31a40b27778631b0006df65411f.zip
sstp: fix obsolete contexts leak
Diffstat (limited to 'accel-pppd')
-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)