File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ MsQuicConfigurationOpen(
8585 Configuration -> Registration = Registration ;
8686 CxPlatRefInitialize (& Configuration -> RefCount );
8787#if DEBUG
88- CxPlatRefInitializeMultiple (Configuration -> RefTypeBiasCount , QUIC_CONF_REF_COUNT );
89- CxPlatRefIncrement (& Configuration -> RefTypeBiasCount [QUIC_CONF_REF_HANDLE ]);
88+ CxPlatRefInitializeMultiple (Configuration -> RefTypeBiasedCount , QUIC_CONF_REF_COUNT );
89+ CxPlatRefIncrement (& Configuration -> RefTypeBiasedCount [QUIC_CONF_REF_HANDLE ]);
9090#endif
9191
9292 Configuration -> AlpnListLength = (uint16_t )AlpnListLength ;
@@ -213,7 +213,7 @@ MsQuicConfigurationOpen(
213213
214214 if (QUIC_FAILED (Status ) && Configuration != NULL ) {
215215#if DEBUG
216- CxPlatRefDecrement (& Configuration -> RefTypeBiasCount [QUIC_CONF_REF_HANDLE ]);
216+ CXPLAT_DBG_ASSERT (! CxPlatRefDecrement (& Configuration -> RefTypeBiasedCount [QUIC_CONF_REF_HANDLE ]) );
217217#endif
218218 CxPlatStorageClose (Configuration -> AppSpecificStorage );
219219#ifdef QUIC_SILO
@@ -268,7 +268,7 @@ QuicConfigurationUninitialize(
268268
269269#if DEBUG
270270 for (uint32_t i = 0 ; i < QUIC_CONF_REF_COUNT ; i ++ ) {
271- CXPLAT_DBG_ASSERT (QuicReadLongPtrNoFence (& Configuration -> RefTypeBiasCount [i ]) == 1 );
271+ CXPLAT_DBG_ASSERT (QuicReadLongPtrNoFence (& Configuration -> RefTypeBiasedCount [i ]) == 1 );
272272 }
273273#endif
274274
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ typedef struct QUIC_CONFIGURATION {
5151 // Note: These ref counts are biased by 1, so lowest they go is 1. It is an
5252 // error for them to ever be zero.
5353 //
54- CXPLAT_REF_COUNT RefTypeBiasCount [QUIC_CONF_REF_COUNT ];
54+ CXPLAT_REF_COUNT RefTypeBiasedCount [QUIC_CONF_REF_COUNT ];
5555#endif
5656
5757 //
@@ -135,7 +135,7 @@ QuicConfigurationAddRef(
135135{
136136 CxPlatRefIncrement (& Configuration -> RefCount );
137137#if DEBUG
138- CxPlatRefIncrement (& Configuration -> RefTypeBiasCount [Ref ]);
138+ CxPlatRefIncrement (& Configuration -> RefTypeBiasedCount [Ref ]);
139139#else
140140 UNREFERENCED_PARAMETER (Ref );
141141#endif
@@ -152,7 +152,7 @@ QuicConfigurationRelease(
152152 )
153153{
154154#if DEBUG
155- CXPLAT_DBG_ASSERT (!CxPlatRefDecrement (& Configuration -> RefTypeBiasCount [Ref ]));
155+ CXPLAT_DBG_ASSERT (!CxPlatRefDecrement (& Configuration -> RefTypeBiasedCount [Ref ]));
156156#else
157157 UNREFERENCED_PARAMETER (Ref );
158158#endif
You can’t perform that action at this time.
0 commit comments