Set the connection context to zero before freeing qdr_connection. This closes
@@ -2128,8 +2128,8 @@ static void qdr_del_http2_connection_CT(qdr_core_t *core, qdr_action_t *action,
static void close_connections(qdr_http2_connection_t* conn)
{
- qdr_connection_closed(conn->qdr_conn);
qdr_connection_set_context(conn->qdr_conn, 0);
+ qdr_connection_closed(conn->qdr_conn);
conn->qdr_conn = 0;
qdr_action_t *action = qdr_action(qdr_del_http2_connection_CT, "delete_http2_connection");
action->args.general.context_1 = conn;
