summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-05-16 09:45:11 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-05-18 11:03:16 +0200
commitf513fa4627fe88f7c45bbeaa0d2842201c108a01 (patch)
tree771344d526fb4c012c706c8b417fef7a0a527933 /src/utils.c
parent45af8c58803077801debb8534acd63b48a7938df (diff)
downloadcalcurse-f513fa4627fe88f7c45bbeaa0d2842201c108a01.zip
Store appointments for the current day in a vector
This allows for more efficient access to items at specific positions. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 493a180..0bcd9db 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -102,7 +102,7 @@ void free_user_data(void)
{
unsigned i;
- day_free_list();
+ day_free_vector();
event_llist_free();
apoint_llist_free();
recur_apoint_llist_free();