aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-11-16 20:15:54 -0600
committerMatt Strapp <strap012@umn.edu>2020-11-16 20:15:54 -0600
commitc9253ef4b91e8432b7ebfd1949c734d653ff8396 (patch)
tree0a9ae079cf1541f550e9c07d8885eebb516c2a16
parentAdd things (diff)
downloadcsci4061-c9253ef4b91e8432b7ebfd1949c734d653ff8396.tar
csci4061-c9253ef4b91e8432b7ebfd1949c734d653ff8396.tar.gz
csci4061-c9253ef4b91e8432b7ebfd1949c734d653ff8396.tar.bz2
csci4061-c9253ef4b91e8432b7ebfd1949c734d653ff8396.tar.lz
csci4061-c9253ef4b91e8432b7ebfd1949c734d653ff8396.tar.xz
csci4061-c9253ef4b91e8432b7ebfd1949c734d653ff8396.tar.zst
csci4061-c9253ef4b91e8432b7ebfd1949c734d653ff8396.zip
This probably isn't right.
Diffstat (limited to '')
-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;