factotum: fix memory leak in findkey()
This commit is contained in:
parent
ca47fef006
commit
d6bb01da76
1 changed files with 2 additions and 0 deletions
|
@ -419,6 +419,8 @@ findkey(Key **ret, Keyinfo *ki, char *fmt, ...)
|
|||
case -1:
|
||||
qunlock(ring);
|
||||
_freeattr(attr1);
|
||||
_freeattr(attr2);
|
||||
_freeattr(attr3);
|
||||
return RpcConfirm;
|
||||
case 0:
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue