diff options
Diffstat (limited to 'dive.c')
-rw-r--r-- | dive.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1758,8 +1758,7 @@ static void free_events(struct event *ev) static void free_dc(struct divecomputer *dc) { free(dc->sample); - if (dc->model) - free((void *)dc->model); + free((void *)dc->model); free_events(dc->events); free(dc); } |