factotum: fix memory leak in findkey()

This commit is contained in:
cinap_lenrek 2017-01-22 00:42:13 +01:00
parent ca47fef006
commit d6bb01da76

View file

@ -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;