Messages in this thread | | | Date | Sat, 27 Nov 2004 23:39:52 +0000 | From | John Levon <> | Subject | Re: [PATCH] Document kfree and vfree NULL usage |
| |
On Sat, Nov 27, 2004 at 04:26:00PM +0200, Pekka Enberg wrote:
> This patch adds comments for kfree() and vfree() stating that both accept > NULL pointers. I audited vfree() callers and there seems to be lots of > confusion over this in the kernel.
Erm, are you sure about this? Somebody had to patch OProfile because vfree() didn't like NULL value being passed in. When did this change?
john - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |