[PATCH] key: plug request_key_auth memleak
[linux-2.6.git] / security / keys / request_key_auth.c
index 1ecd3d3..f80a501 100644 (file)
@@ -96,6 +96,7 @@ static void request_key_auth_destroy(struct key *key)
        kenter("{%d}", key->serial);
 
        key_put(rka->target_key);
+       kfree(rka);
 
 } /* end request_key_auth_destroy() */