summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/selftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/selftest.c')
-rw-r--r--net/bluetooth/selftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/selftest.c b/net/bluetooth/selftest.c
index ee92c925ecc5..34a1227f4391 100644
--- a/net/bluetooth/selftest.c
+++ b/net/bluetooth/selftest.c
@@ -164,7 +164,7 @@ static int __init test_ecdh_sample(const u8 priv_a[32], const u8 priv_b[32],
164 ret = -EINVAL; 164 ret = -EINVAL;
165 165
166out: 166out:
167 kfree(dhkey_a); 167 kfree(tmp);
168 return ret; 168 return ret;
169} 169}
170 170