mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 04:17:47 +00:00
[media] hdpvr: Fix memory leak
This patch fixes the print_buf leaking. Signed-off-by: Syam Sidhardhan <s.syam@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
06f950f43f
commit
972b072a83
@ -196,6 +196,7 @@ static int device_authorization(struct hdpvr_device *dev)
|
||||
hex_dump_to_buffer(response, 8, 16, 1, print_buf, 5*buf_size+1, 0);
|
||||
v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, " response: %s\n",
|
||||
print_buf);
|
||||
kfree(print_buf);
|
||||
#endif
|
||||
|
||||
msleep(100);
|
||||
|
Loading…
Reference in New Issue
Block a user