isdn_bsdcomp.c - vfree() checking cleanups
PATCH 1/29 isdn_bsdcomp.c - vfree() checking cleanups
isdn_bsdcomp.c vfree() checking cleanups.
Signed-off by: James Lamanna <[email protected]>
isdn_bsdcomp.c | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-)
drivers/isdn/i4l/isdn_bsdcomp.c +4 -6
@@ -283,18 +283,14 @@/* * Release the dictionary */ -if (db->dict) { -vfree (db->dict); - db->dict - } +vfree (db->dict); + db->dict /* * Release the string buffer */ -if (db->lens) { -vfree (db->lens); - db->lens - } + vfree (db->lens); + db->lens/* * Finally release the structure itself.
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors