Re: [PATCH] [DISCUSS] Make the variable NULL after freeing it.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Oeser <ioe-lkml@...>
Cc: Amit Choudhary <amit2030@...>, Bernd Petrovitsch <bernd@...>, Jan Engelhardt <jengelh@...>, Linux Kernel <linux-kernel@...>
Date: Monday, January 1, 2007 - 2:36 pm

Hi!


Doing kfree() that writes to its argument is not an option. kfree()
looks like a function, so it should behave as one. KFREE() might be
okay.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 4/7] work_on_cpu: use in drivers/pci/pci-driver.c, Rusty Russell, (Wed Dec 31, 8:00 pm)
Re: [PATCH] [DISCUSS] Make the variable NULL after freeing it., Pavel Machek, (Mon Jan 1, 2:36 pm)