aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/caldav/hooks
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2017-09-04 09:17:14 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-09-04 16:34:19 +0200
commit3095bf42141723ebbfacb047aaa90c5b1b433420 (patch)
tree56079ee0ba5e6f8ad4185aabd9faaebba738c480 /contrib/caldav/hooks
parent2e584f03e6242887984c7b5e7cfe77935017e8f5 (diff)
downloadcalcurse-3095bf42141723ebbfacb047aaa90c5b1b433420.tar.gz
calcurse-3095bf42141723ebbfacb047aaa90c5b1b433420.zip
Add missing string initialization
When introducing the fmt_day_heading() function in commit d56cc7a (Make heading in appointments panel configurable, 2017-08-19), we forgot to initialize the dynamic string. This resulted in calling mem_free() with a garbage pointer, potentially resulting in a segmentation fault. Fix this by calling string_init() before using the string. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'contrib/caldav/hooks')
0 files changed, 0 insertions, 0 deletions