av7110.c - vfree() checking cleanups
Subsystems (2)
PATCH RESEND 5/29 av7110.c - vfree() checking cleanups
av7110.c vfree() checking cleanups.
Signed-off by: James Lamanna <[email protected]>
av7110.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
drivers/media/dvb/ttpci/av7110.c +2 -4
@@ -2095,8 +2095,7 @@if (NULL != av7110->debi_virt)pci_free_consistent (dev->pci,8192 , av7110->debi_virt, av7110->debi_bus); -if (NULL != av7110->iobuf) -vfree (av7110->iobuf); +vfree (av7110->iobuf);if (NULL != av7110 ) {kfree (av7110); }
@@ -2139,8 +2138,7 @@ av7110_num--;#ifndef CONFIG_DVB_AV7110_FIRMWARE_FILE -if (av7110->bin_fw) -vfree (av7110->bin_fw); +vfree (av7110->bin_fw);#endif kfree (av7110); saa->ext_priv =NULL ;
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors