Re: [PATCH 2/2] keys: added cleanup code for trusted and encrypted key types

2010-10-07 Thread James Morris
On Thu, 7 Oct 2010, Mimi Zohar wrote: > Thanks for catching this! This patch applies cleanly to the > trusted/encrypted patch set posted today. > > thanks, > > Acked-by: Mimi Zohar It's probably best if you incorporate these fixes into your patches, so we don't commit known-broken code into t

Re: [PATCH 2/2] keys: added cleanup code for trusted and encrypted key types

2010-10-07 Thread Mimi Zohar
Thanks for catching this! This patch applies cleanly to the trusted/encrypted patch set posted today. thanks, Acked-by: Mimi Zohar On Thu, 2010-10-07 at 14:30 +0200, Roberto Sassu wrote: > This patch frees the payload at the end of the instantiate > method of both trusted and encrypted key type

[PATCH 2/2] keys: added cleanup code for trusted and encrypted key types

2010-10-07 Thread Roberto Sassu
This patch frees the payload at the end of the instantiate method of both trusted and encrypted key types if an error occurs. Signed-off-by: Roberto Sassu --- security/keys/encrypted_defined.c |6 ++ security/keys/trusted_defined.c |4 2 files changed, 10 insertions(+), 0 dele