From 70ce2b0760bd6970c01f3d42245f9d5ca08c3929 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 19 Sep 2020 18:43:06 +0300 Subject: Added dynamic updating of ramp effects Other changes include: + Freed memory at end of init in hid-tminit.c + Fixed some error messages + Removed ugly t300rs_modify_*_envelope, replaced with t300rs_modify_envelope --- hid-tminit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hid-tminit.c') diff --git a/hid-tminit.c b/hid-tminit.c index 9b894f5..f9b14d8 100644 --- a/hid-tminit.c +++ b/hid-tminit.c @@ -34,6 +34,8 @@ static void tminit_interrupts(struct hid_device *hdev){ return; } } + + kzfree(send_buf); } int tminit(struct hid_device *hdev){ -- cgit v1.3