summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/bluetooth/ecdh_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/ecdh_helper.c b/net/bluetooth/ecdh_helper.c
index 22c8daa0b451..16e022f5ab27 100644
--- a/net/bluetooth/ecdh_helper.c
+++ b/net/bluetooth/ecdh_helper.c
@@ -122,7 +122,7 @@ free_all:
free_req:
kpp_request_free(req);
free_tmp:
- kfree(tmp);
+ kzfree(tmp);
return err;
}