diff options
author | Steven Luong <sluong@cisco.com> | 2022-11-18 14:17:42 -0800 |
---|---|---|
committer | Steven Luong <sluong@cisco.com> | 2022-11-18 14:23:08 -0800 |
commit | dfd169816e4d63fa2f586bbad5820eb80f483733 (patch) | |
tree | 521424fa2915f8c47ca6e268148e3e0e56781f87 /src/plugins/tlspicotls/certs.h | |
parent | fe2d23f916d1991f4a1a8384eae41b5cceb80189 (diff) |
tls: memory leak due to missing call to vnet_crypto_key_del
We add the crypto key to the vnet crypto library via vnet_crypto_key_add.
However, when the session is disconnected, we don't call
vnet_crypto_key_del and the memory is leaked in vnet_crypto library
as well as in pico tls key store.
It seems dispose crypto is the appropriate place to add
vnet_crypto_key_del.
Type: fix
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: If6d1266baf686fefe5bb81330ce60b35c8ff574e
Diffstat (limited to 'src/plugins/tlspicotls/certs.h')
0 files changed, 0 insertions, 0 deletions