diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | save-xml.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 295ea6b17..aeb949b3d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ *.o -/parse +/divelog 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); } |