Re: [PATCH] reset: Fix memory leak in reset_control_array_put()

2019-10-22 Thread Kishon Vijay Abraham I
On 22/10/19 2:30 PM, Philipp Zabel wrote: > Hi Kishon, > > On Tue, 2019-10-22 at 14:06 +0530, Kishon Vijay Abraham I wrote: >> Memory allocated for 'struct reset_control_array' in >> of_reset_control_array_get() is never freed in >> reset_control_array_put() resulting in kmemleak showing >>

Re: [PATCH] reset: Fix memory leak in reset_control_array_put()

2019-10-22 Thread Philipp Zabel
Hi Kishon, On Tue, 2019-10-22 at 14:06 +0530, Kishon Vijay Abraham I wrote: > Memory allocated for 'struct reset_control_array' in > of_reset_control_array_get() is never freed in > reset_control_array_put() resulting in kmemleak showing > the following backtrace. > > backtrace: >

[PATCH] reset: Fix memory leak in reset_control_array_put()

2019-10-22 Thread Kishon Vijay Abraham I
Memory allocated for 'struct reset_control_array' in of_reset_control_array_get() is never freed in reset_control_array_put() resulting in kmemleak showing the following backtrace. backtrace: [] __kmalloc+0x1b0/0x2b0 []