[lkml]   [2003]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [2.4] init/do_mounts.c::rd_load_image() memleak
    On Fri, 14 Mar 2003, Oleg Drokin wrote:

    > Well, my argument is code uniformness which was always valid as long as it does not
    > introduce any bugs, I think.
    > Do you propose somebody should go and fix all
    > if ( something )
    > kfree(something);
    > pieces of code to read just
    > kfree(something); ?

    It's defined that kfree(NULL) is valid. I tried the above mentioned
    'cleanup' a while ago, way too noisy.

    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: 2005-03-22 13:33    [W:0.028 / U:17.872 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site