diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-06-26 16:55:35 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-10-14 14:32:20 +0200 |
commit | 889875a14f0a3205e78613b3e78ecc4efc187d74 (patch) | |
tree | dc0d255c0d036647fd86bb73ee3e71797437495c /drivers/irqchip/irq-ingenic.c | |
parent | 6acbe21f473f5cff8a11546f090967459b63ab3e (diff) |
s390/zcrypt: fix memory leak with ap configuration data
The ap_query_configuration function allocates the ap_config_info
structure, but there is no code to free the structure.
Allocate the structure in the module_init function and free it
again in module_exit.
While we are at it simplify a few functions in regard to the
ap configuration data.
Reviewed-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/irqchip/irq-ingenic.c')
0 files changed, 0 insertions, 0 deletions