kfree on NULL pointer is a no-op.
Signed-off-by: Syam Sidhardhan
---
drivers/media/usb/dvb-usb-v2/lmedm04.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/media/usb/dvb-usb-v2/lmedm04.c
b/drivers/media/usb/dvb-usb-v2/lmedm04.c
index 96804be..b3fd0ff 100644
kfree on NULL pointer is a no-op.
Signed-off-by: Syam Sidhardhan
---
drivers/media/usb/dvb-usb/cinergyT2-fe.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/media/usb/dvb-usb/cinergyT2-fe.c
b/drivers/media/usb/dvb-usb/cinergyT2-fe.c
index 1efc028..c890fe4
kfree on NULL pointer is a no-op.
Signed-off-by: Syam Sidhardhan
---
drivers/media/tuners/tuner-xc2028.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/media/tuners/tuner-xc2028.c
b/drivers/media/tuners/tuner-xc2028.c
index 0945173..878d2c4 100644
--- a
kfree on NULL pointer is a no-op.
Signed-off-by: Syam Sidhardhan
---
drivers/media/pci/ivtv/ivtvfb.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/media/pci/ivtv/ivtvfb.c b/drivers/media/pci/ivtv/ivtvfb.c
index 05b94aa..9ff1230 100644
--- a/drivers/media/pci
kfree on NULL pointer is a no-op.
Signed-off-by: Syam Sidhardhan
---
drivers/media/common/siano/smscoreapi.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/media/common/siano/smscoreapi.c
b/drivers/media/common/siano/smscoreapi.c
index 1842e64..9565dcc 100644
This patch fixes the print_buf leaking.
Signed-off-by: Syam Sidhardhan
---
drivers/media/usb/hdpvr/hdpvr-core.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/usb/hdpvr/hdpvr-core.c
b/drivers/media/usb/hdpvr/hdpvr-core.c
index 5c61935..73195fe 100644
--- a/drivers/media
Check for (adap == NULL) has to done before accessing adap.
Signed-off-by: Syam Sidhardhan
---
drivers/media/usb/dvb-usb-v2/lmedm04.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/media/usb/dvb-usb-v2/lmedm04.c
b/drivers/media/usb/dvb-usb-v2/lmedm04.c
index