patx/mrhttp-asgi

oops

Commit e01c5e1 · MarkReedZ · 2024-03-06T19:19:58Z

Changeset
e01c5e187d5b5c1a50beaca2c58703132f8018c6
Parents
34edc9a9538c33e7ca4328f466ab13457c189539

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/src/mrhttp/internals/protocol.c b/src/mrhttp/internals/protocol.c
index 8daf2eb..a1c77b7 100644
--- a/src/mrhttp/internals/protocol.c
+++ b/src/mrhttp/internals/protocol.c
@@ -514,7 +514,6 @@ Protocol* Protocol_on_body(Protocol* self, char* body, size_t body_len) {
 
     // if mrq return now as the user is not logged in
     if ( r->mrq ) {
-      free(scd);
       return Protocol_handle_request( self, self->request, r );
     }