diff options
author | dnobori <da.git@softether.co.jp> | 2018-01-15 05:38:44 +0300 |
---|---|---|
committer | dnobori <da.git@softether.co.jp> | 2018-01-15 05:38:44 +0300 |
commit | c23142a8ffc35088047060989fc3d76c5b4e00af (patch) | |
tree | c6c9b8dbe7824c82e1121ffe38889214ad81049e /src/Cedar/Radius.c | |
parent | af7b4d4afba44fc04c808a95ad5f49f5682e796d (diff) |
v4.25-9656-rtmv4.25-9656-rtm
Diffstat (limited to 'src/Cedar/Radius.c')
-rw-r--r-- | src/Cedar/Radius.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Cedar/Radius.c b/src/Cedar/Radius.c index 4b09f600..8740e753 100644 --- a/src/Cedar/Radius.c +++ b/src/Cedar/Radius.c @@ -1827,6 +1827,13 @@ bool RadiusLogin(CONNECTION *c, char *server, UINT port, UCHAR *secret, UINT sec if (encrypted_password == NULL)
{
// Encryption failure
+
+ // Release the ip_list
+ for(i = 0; i < LIST_NUM(ip_list); i++)
+ {
+ IP *tmp_ip = LIST_DATA(ip_list, i);
+ Free(tmp_ip);
+ }
ReleaseList(ip_list);
return false;
}
|