Lars Henriksen 3095bf4214 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>
2017-09-04 16:34:19 +02:00
..
2017-08-30 16:26:10 +02:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-08-29 20:14:39 +02:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-09-03 16:37:35 +02:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-08-30 16:26:10 +02:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-09-04 16:34:19 +02:00
2017-08-30 16:17:28 +02:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00