powerpc/pseries: fix memory leak in queue_hotplug_event() error path
Michael Ellerman
patch-notifications at ellerman.id.au
Tue Sep 20 23:07:20 AEST 2016
On Mon, 2016-19-09 at 06:41:32 UTC, Andrew Donnellan wrote:
> If we fail to allocate work, we don't end up using hp_errlog_copy. Free it
> in the error path.
>
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
> Reviewed-by: Nathan Fontenot <nfont at linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/90ce35145cb622b3cd0007d50e
cheers
More information about the Linuxppc-dev
mailing list