KEYS: Call ->free_preparse() even after ->preparse() returns an error
authorDavid Howells <dhowells@redhat.com>
Fri, 18 Jul 2014 17:56:34 +0000 (18:56 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 22 Jul 2014 20:46:12 +0000 (21:46 +0100)
commit4d8c0250b841159b128785f7a7efbaff40cc8501
tree88860f5296ab855ba75588a0ec3e9fce73b7def3
parent7dfa0ca6a95de65b7a7760630cdbd7d30f204bfa
KEYS: Call ->free_preparse() even after ->preparse() returns an error

Call the ->free_preparse() key type op even after ->preparse() returns an
error as it does cleaning up type stuff.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Acked-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Documentation/security/keys.txt
security/keys/key.c