All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] [1/29] isdn_bsdcomp.c - vfree() checking cleanups
@ 2005-01-04 21:56 jlamanna
  0 siblings, 0 replies; only message in thread
From: jlamanna @ 2005-01-04 21:56 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

isdn_bsdcomp.c vfree() checking cleanups.

Signed-off by: James Lamanna <jlamanna@gmail.com>

 isdn_bsdcomp.c |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)


--- linux-2.6.10-vanilla/drivers/isdn/i4l/isdn_bsdcomp.c	2004-12-24 13:35:25.000000000 -0800
+++ linux-2.6.10/drivers/isdn/i4l/isdn_bsdcomp.c	2005-01-04 11:31:35.000000000 -0800
@@ -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.



[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-04 21:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-04 21:56 [KJ] [PATCH] [1/29] isdn_bsdcomp.c - vfree() checking cleanups jlamanna

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.