commit | 889875a14f0a3205e78613b3e78ecc4efc187d74 | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Fri Jun 26 16:55:35 2015 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Oct 14 14:32:20 2015 +0200 |
tree | dc0d255c0d036647fd86bb73ee3e71797437495c | |
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>