Skip to content

Commit

Permalink
Fix missing close file handle for mmap #22
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdickmeiss committed Nov 29, 2017
1 parent df7a0c0 commit ed2bf7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/marcmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ struct marcmap *marcmap_load(const char *filename, NMEM nmem)
}
}
mm->next = NULL;
fclose(fp);
return mmhead;
}

Expand Down

0 comments on commit ed2bf7a

Please sign in to comment.