aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--P3/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/P3/server.c b/P3/server.c
index 7c352fc..cc8be2c 100644
--- a/P3/server.c
+++ b/P3/server.c
@@ -140,6 +140,7 @@ void * dispatch(void *arg) {
//Hopefully this works. Please work
tempNode->fd = newReq;
tempNode->request= tempBuf;
+ free(tempBuf);
break;
} else {
traverse = traverse -> next;