diff options
Diffstat (limited to 'P1')
-rw-r--r-- | P1/src/mapper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/P1/src/mapper.c b/P1/src/mapper.c index 2379264..e23a484 100644 --- a/P1/src/mapper.c +++ b/P1/src/mapper.c @@ -116,6 +116,7 @@ void writeIntermediateDS() { sprintf(filename, "output/map_%d/%s.txt", mapperID, tempNode -> key); FILE* fptr = fopen(filename, "w"); tempNode = tempNode -> next; + fclose(fptr); } } |