isdn_bsdcomp.c - vfree() checking
PATCH RESEND 1/29 isdn_bsdcomp.c - vfree() checking
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 -8
@@ -283,18 +283,14 @@/* * Release the dictionary */ -if (db->dict) { -vfree (db->dict); - db->dict =NULL ; - } +vfree (db->dict); + db->dict =NULL ;/* * Release the string buffer */ -if (db->lens) { -vfree (db->lens); - db->lens =NULL ; - } +vfree (db->lens); + db->lens =NULL ;/* * Finally release the structure itself.
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors