aboutsummaryrefslogtreecommitdiffstats
path: root/doc/es/save.txt
diff options
context:
space:
mode:
authorMax Kunzelmann <max@mxzero.net>2023-11-09 17:37:13 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2024-01-26 13:38:32 +0100
commit81953ef75a36bc959bd5b6161ff0dc2cf3406676 (patch)
treee86984416cf1cdb20be94ad76a712a2b3fa592b0 /doc/es/save.txt
parentaa5ff07b61b6bd9db948cd6541bed3cd44f25924 (diff)
downloadcalcurse-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/es/save.txt')
0 files changed, 0 insertions, 0 deletions