summaryrefslogtreecommitdiff
path: root/src/ui-calendar.c%2525253fid%2525253d90fe21af88b7191a7f3a979040ec07c3ed03960b%252...
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 /src/ui-calendar.c%2525253fid%2525253d90fe21af88b7191a7f3a979040ec07c3ed03960b%25253fid%25253d90fe21af88b7191a7f3a979040ec07c3ed03960b%253fid%253d90fe21af88b7191a7f3a979040ec07c3ed03960b%3fid%3d90fe21af88b7191a7f3a979040ec07c3ed03960b?id=3095bf42141723ebbfacb047aaa90c5b1b433420
parent2e584f03e6242887984c7b5e7cfe77935017e8f5 (diff)
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 'src/ui-calendar.c%2525253fid%2525253d90fe21af88b7191a7f3a979040ec07c3ed03960b%25253fid%25253d90fe21af88b7191a7f3a979040ec07c3ed03960b%253fid%253d90fe21af88b7191a7f3a979040ec07c3ed03960b%3fid%3d90fe21af88b7191a7f3a979040ec07c3ed03960b?id=3095bf42141723ebbfacb047aaa90c5b1b433420')
0 files changed, 0 insertions, 0 deletions