diff options
author | Max Kunzelmann <max@mxzero.net> | 2023-11-09 17:37:13 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2024-01-26 13:38:32 +0100 |
commit | 81953ef75a36bc959bd5b6161ff0dc2cf3406676 (patch) | |
tree | e86984416cf1cdb20be94ad76a712a2b3fa592b0 /doc/manual_it.html | |
parent | aa5ff07b61b6bd9db948cd6541bed3cd44f25924 (diff) | |
download | calcurse-81953ef75a36bc959bd5b6161ff0dc2cf3406676.tar.gz calcurse-81953ef75a36bc959bd5b6161ff0dc2cf3406676.zip |
Fix memory leak in keys initialization
Previous to this commit, a strdup took place for every key name
including those that were replaced with customized key names later on
while never calling free on the pointer returned by strdup.
This fix only calls strdup for key names that are not replaced with
custom key names.
Found with ASAN.
Signed-off-by: Max Kunzelmann <max@mxzero.net>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'doc/manual_it.html')
0 files changed, 0 insertions, 0 deletions