[lkml]   [2004]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[PATCH REPOST 2.6.10-rc2 0/4] module sysfs: module sysfs related clean ups
     Hello, Greg.  Hello, Rusty.

    I forgot kfree(mk) in params.c:kernel_param_sysfs_setup() on failure
    path. You can just add kfree(mk) like the following.

    /* no need to keep the kobject if no parameter is exported */
    - if (!param_sysfs_setup(mk, kparam, num_params, name_skip))
    + if (!param_sysfs_setup(mk, kparam, num_params, name_skip)) {
    + kfree(mk);
    + }

    I also regenerated all patches. Sorry for the inconvenience.


    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 14:08    [W:0.020 / U:5.548 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site