summaryrefslogtreecommitdiffstats
path: root/libfreerdp/core/gateway/wst.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfreerdp/core/gateway/wst.c')
-rw-r--r--libfreerdp/core/gateway/wst.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libfreerdp/core/gateway/wst.c b/libfreerdp/core/gateway/wst.c
index 00581d3..87194da 100644
--- a/libfreerdp/core/gateway/wst.c
+++ b/libfreerdp/core/gateway/wst.c
@@ -199,6 +199,8 @@ static BOOL wst_recv_auth_token(rdpCredsspAuth* auth, HttpResponse* response)
authToken.cbBuffer = authTokenLength;
credssp_auth_take_input_buffer(auth, &authToken);
}
+ else
+ free(authTokenData);
rc = credssp_auth_authenticate(auth);
if (rc < 0)