diff options
Diffstat (limited to 'core/parse.c')
-rw-r--r-- | core/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/parse.c b/core/parse.c index 46c041925..c8f3ae89a 100644 --- a/core/parse.c +++ b/core/parse.c @@ -282,7 +282,7 @@ void trip_start(void) if (cur_trip) return; dive_end(); - cur_trip = calloc(1, sizeof(dive_trip_t)); + cur_trip = alloc_trip(); memset(&cur_tm, 0, sizeof(cur_tm)); } |