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 /net/lapb/lapb_timer.c | |
parent | s390/zcrypt: remove duplicate low level functions (diff) | |
download | linux-889875a14f0a3205e78613b3e78ecc4efc187d74.tar.xz linux-889875a14f0a3205e78613b3e78ecc4efc187d74.zip |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions