Messages in this thread | | | Date | Thu, 18 Apr 2019 19:25:48 +0200 | From | Borislav Petkov <> | Subject | Re: EDAC: Fix memory leak in creating CSROW object |
| |
On Thu, Apr 18, 2019 at 10:27:18AM +0800, Pan Bian wrote: > In the function that creates a CSROW object, the object is not released > when failing to add the device to device hierarchy.
Are you sure about this?
> This may result in a memory leak bug.
"May"?
I see a loop which unwinds by putting the already created devices. Do you?
-- Regards/Gruss, Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
| |