[PATCH] lmedm04: Remove redundant NULL check before kfree

2013-03-05 Thread Syam Sidhardhan
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

[PATCH] dvb-usb: Remove redundant NULL check before kfree

2013-02-26 Thread Syam Sidhardhan
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

[PATCH] media: tuners: Remove redundant NULL check before kfree

2013-02-26 Thread Syam Sidhardhan
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

[PATCH] media: ivtv: Remove redundant NULL check before kfree

2013-02-26 Thread Syam Sidhardhan
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

[PATCH] siano: Remove redundant NULL check before kfree

2013-02-26 Thread Syam Sidhardhan
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

[PATCH] hdpvr: Fix memory leak

2013-02-24 Thread Syam Sidhardhan
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

[PATCH] lmedm04: Fix possible NULL pointer dereference

2013-02-24 Thread Syam Sidhardhan
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