Hi Dan, > This code frees "m->si.pat" and then dereferences it on the next line. > > Fixes: 039b7caed173 ("media: vidtv: add a PID entry for the NIT table") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > drivers/media/test-drivers/vidtv/vidtv_channel.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) IIRC there has been a similar patch [1] that has already been accepted by Mauro.. [1]: https://patchwork.linuxtv.org/project/linux-media/patch/20201127132832.15239-1-colin.king@xxxxxxxxxxxxx/ -- thanks -- Daniel