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@...>, Pavel Machek <pavel@...>, Linux Kernel <linux-kernel@...>
Date: Monday, January 1, 2007 - 12:25 pm

Ingo Oeser <ioe-lkml@rameria.de> writes:


It's not a side effect, it's a non-lvalue, and you can't take the address
of a non-lvalue.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
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., Andreas Schwab, (Mon Jan 1, 12:25 pm)