diff options
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/save-xml.c b/save-xml.c index 9e3640cad..5c05723b7 100644 --- a/save-xml.c +++ b/save-xml.c @@ -193,4 +193,5 @@ void save_dives(const char *filename) for (i = 0; i < dive_table.nr; i++) save_dive(f, get_dive(i)); fprintf(f, "</dives>\n"); + fclose(f); } |