summaryrefslogtreecommitdiffstats
path: root/modules/cookies/cookiectl.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/cookies/cookiectl.c')
-rw-r--r--modules/cookies/cookiectl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cookies/cookiectl.c b/modules/cookies/cookiectl.c
index 9f475ffc..21af0d0b 100644
--- a/modules/cookies/cookiectl.c
+++ b/modules/cookies/cookiectl.c
@@ -518,6 +518,7 @@ static bool config_apply_json(struct kr_cookie_ctx *ctx, JsonNode *root_node)
return false;
}
if (!obtain_secret(root_node, &new_srvr_secret, NAME_SERVER_SECRET)) {
+ free(new_clnt_secret);
return false;
}