diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2023-05-17 15:44:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 15:44:02 +0300 |
commit | 0973652cd5855f54f7ff89d79e3f36ede3d87cc0 (patch) | |
tree | 97082c90bdff6b4fa5f9bcbe3cff8864e1130593 /libnetdata | |
parent | 8f836b81cbccccaceaa8fe36a367ec23172c3214 (diff) |
Fix memory leak when sending alerts checkoint (#15060)
* Free active_alerts and claim_id
* Free digest context
* Release memory unconditionally
Diffstat (limited to 'libnetdata')
-rw-r--r-- | libnetdata/libnetdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetdata/libnetdata.c b/libnetdata/libnetdata.c index a8f26c33b8..19b861e39a 100644 --- a/libnetdata/libnetdata.c +++ b/libnetdata/libnetdata.c @@ -2031,6 +2031,6 @@ int hash256_string(const unsigned char *string, size_t size, char *hash) { EVP_MD_CTX_destroy(ctx); return 0; } - + EVP_MD_CTX_destroy(ctx); return 1; } |