Re: [PATCH] nvmem: core: Fix memleak in nvmem_add_cells_from_dt error path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



…
> is outside of the valid range, the info.name alloc by kasprintf will

                                               allocated by kasprintf()?


> cause memleak. Just free before return from nvmem_add_cells_from_dt
…

        a memory leak?                                               ()?


How do you think about to increase the application of scope-based resource management?

Regards,
Markus





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux