[lkml]   [2007]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] include/linux/slab.h: new KFREE() macro.
    On Sun, Jan 07, 2007 at 12:46:50AM -0800, Amit Choudhary wrote:
    > Well, I am not proposing this as a debugging aid. The idea is about correct programming, atleast
    > from my view. Ideally, if you kfree(x), then you should set x to NULL. So, either programmers do
    > it themselves or a ready made macro do it for them.

    No, you should not. I suspect that's the basic point you're missing.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-01-07 11:27    [W:0.028 / U:4.664 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site