summaryrefslogtreecommitdiff
path: root/sys/src/libauth
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2022-12-12 01:16:56 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2022-12-12 01:16:56 +0000
commit31ed5d7d2ffd891b88e2d97c0706851fab94a06c (patch)
tree12479df9141df93ce042df553c061bfd84a0d2af /sys/src/libauth
parentdc952dad295700a836cf91ec66b1c443e5bbb4b7 (diff)
libauth: aand also fix the leak it in the deactivated code
Diffstat (limited to 'sys/src/libauth')
-rw-r--r--sys/src/libauth/auth_getkey.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/libauth/auth_getkey.c b/sys/src/libauth/auth_getkey.c
index 7d510c4b4..764680159 100644
--- a/sys/src/libauth/auth_getkey.c
+++ b/sys/src/libauth/auth_getkey.c
@@ -23,6 +23,7 @@ auth_getkey(char *params)
}
if(0) if(d->type != '/'){
werrstr("auth_getkey: /factotum may be bad: didn't get key %s", params);
+ free(d);
return -1;
}
free(d);