rpcrt4: Enter new named pipe connections into the protocol connection list.
This commit is contained in:
parent
369749dcb2
commit
639ffbfde7
|
@ -301,6 +301,11 @@ static RPC_STATUS rpcrt4_protseq_ncacn_np_open_endpoint(RpcServerProtseq *protse
|
|||
r = rpcrt4_conn_create_pipe(Connection, pname);
|
||||
I_RpcFree(pname);
|
||||
|
||||
EnterCriticalSection(&protseq->cs);
|
||||
Connection->Next = protseq->conn;
|
||||
protseq->conn = Connection;
|
||||
LeaveCriticalSection(&protseq->cs);
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue