mirror of
https://github.com/lammertb/libhttp.git
synced 2025-12-22 04:02:04 +03:00
Merge pull request #261 from javaJake/websocketclose
Only free conn if in client context.
This commit is contained in:
@@ -10974,9 +10974,9 @@ mg_close_connection(struct mg_connection *conn)
|
||||
}
|
||||
mg_free(client_ctx->workerthreadids);
|
||||
mg_free(client_ctx);
|
||||
}
|
||||
(void)pthread_mutex_destroy(&conn->mutex);
|
||||
mg_free(conn);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user