block: add a bdev_is_partition helper
[linux-2.6-microblaze.git] / crypto / ecdh.c
index bd59905..b0232d6 100644 (file)
@@ -124,7 +124,7 @@ static int ecdh_compute_value(struct kpp_request *req)
 
        /* fall through */
 free_all:
-       kzfree(shared_secret);
+       kfree_sensitive(shared_secret);
 free_pubkey:
        kfree(public_key);
        return ret;