Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 972b072a authored by Syam Sidhardhan's avatar Syam Sidhardhan Committed by Mauro Carvalho Chehab
Browse files

[media] hdpvr: Fix memory leak



This patch fixes the print_buf leaking.

Signed-off-by: default avatarSyam Sidhardhan <s.syam@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 06f950f4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);