From: Steffen Klassert Date: Tue, 8 Nov 2011 09:09:17 +0000 (+0100) Subject: crypto: Unlink and free instances when deleted X-Git-Tag: v3.3-rc1~104^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce3fd840f588d85a8c1be651cf90fa1ba1f029e9;p=pandora-kernel.git crypto: Unlink and free instances when deleted We leak the crypto instance when we unregister an instance with crypto_del_alg(). Therefore we introduce crypto_unregister_instance() to unlink the crypto instance from the template's instances list and to free the recources of the instance properly. Signed-off-by: Steffen Klassert Signed-off-by: Herbert Xu --- Reading git-diff-tree failed