diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2017-12-16 01:44:33 +0500 |
---|---|---|
committer | Vladislav Grishenko <themiron@mail.ru> | 2017-12-30 22:49:45 +0500 |
commit | 7e704a12a28ee31a40b27778631b0006df65411f (patch) | |
tree | 5538b04b03b32dcb0fc6fd8e04d2b8cc206f3c9c /accel-pppd/ctrl/sstp | |
parent | 384c2453e399226bf09f3846d5f9940868edaed9 (diff) | |
download | accel-ppp-7e704a12a28ee31a40b27778631b0006df65411f.tar.gz accel-ppp-7e704a12a28ee31a40b27778631b0006df65411f.zip |
sstp: fix obsolete contexts leak
Diffstat (limited to 'accel-pppd/ctrl/sstp')
-rw-r--r-- | accel-pppd/ctrl/sstp/sstp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/sstp/sstp.c b/accel-pppd/ctrl/sstp/sstp.c index b6aa70e..21787ea 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) |