diff options
author | Andrew Donnellan <[email protected]> | 2016-09-19 16:41:32 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2016-09-20 16:17:54 +1000 |
commit | 90ce35145cb622b3cd0007d50e1f6a5a97321235 (patch) | |
tree | 26550142d067142c54038f6f126ad7735174c8eb /arch/powerpc/sysdev/dart_iommu.c | |
parent | 11b7e154b132232535befe51c55db048069c8461 (diff) |
powerpc/pseries: fix memory leak in queue_hotplug_event() error path
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 <[email protected]>
Reviewed-by: Nathan Fontenot <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
0 files changed, 0 insertions, 0 deletions