• Andrew Morton's avatar
    [PATCH] kobject hotplug fixes · 932fd605
    Andrew Morton authored
    - allocated storage `envp' was being leaked on an error path
    
    - kmalloc() returns void*, no need to cast it
    
    - don't return 0 from a void-returning function
    
    Greg has acked this patch.
    932fd605
kobject.c 11.4 KB