aboutsummaryrefslogtreecommitdiffstats
path: root/P1/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--P1/src/mapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/P1/src/mapper.c b/P1/src/mapper.c
index 52a9a28..41de345 100644
--- a/P1/src/mapper.c
+++ b/P1/src/mapper.c
@@ -123,7 +123,7 @@ void writeIntermediateDS() {
fclose(fptr);
tempNode = tempNode -> next;
}
- freeInterDS(root);
+ freeInterDS(root -> next);
}
int main(int argc, char *argv[]) {