- Timestamp:
- Feb 9, 2012, 2:34:40 PM (14 years ago)
- Location:
- trunk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/crypt32/collectionstore.c
r21354 r21967 60 60 CryptMemFree(entry); 61 61 } 62 #ifdef DEBUG 62 63 cs->cs.DebugInfo->Spare[0] = 0; 64 #endif 63 65 DeleteCriticalSection((CRITICAL_SECTION*)&cs->cs); 64 66 CRYPT_FreeStore((PWINECRYPT_CERTSTORE)store); … … 453 455 store->hdr.ctls.deleteContext = CRYPT_CollectionDeleteCTL; 454 456 InitializeCriticalSection((CRITICAL_SECTION*)&store->cs); 457 #ifdef DEBUG 455 458 store->cs.DebugInfo->Spare[0] = (DWORD)(DWORD_PTR)(__FILE__ ": PWINE_COLLECTIONSTORE->cs"); 459 #endif 456 460 list_init(&store->stores); 457 461 } -
trunk/src/crypt32/context.c
r21354 r21967 198 198 list->contextSize = contextSize; 199 199 InitializeCriticalSection((CRITICAL_SECTION*)&list->cs); 200 #ifdef DEBUG 200 201 list->cs.DebugInfo->Spare[0] = (DWORD)(DWORD_PTR)(__FILE__ ": ContextList.cs"); 202 #endif 201 203 list_init(&list->contexts); 202 204 } … … 310 312 { 311 313 ContextList_Empty(list); 314 #ifdef DEBUG 312 315 list->cs.DebugInfo->Spare[0] = 0; 316 #endif 313 317 DeleteCriticalSection((CRITICAL_SECTION*)&list->cs); 314 318 CryptMemFree(list); -
trunk/src/crypt32/oid.c
r21916 r21967 106 106 CryptMemFree(functionCursor); 107 107 } 108 #ifdef DEBUG 108 109 setCursor->cs.DebugInfo->Spare[0] = 0; 110 #endif 109 111 DeleteCriticalSection((CRITICAL_SECTION*)&setCursor->cs); 110 112 CryptMemFree(setCursor); … … 141 143 { 142 144 InitializeCriticalSection((CRITICAL_SECTION*)&ret->cs); 145 #ifdef DEBUG 143 146 ret->cs.DebugInfo->Spare[0] = (DWORD)(DWORD_PTR)(__FILE__ ": OIDFunctionSet.cs"); 147 #endif 144 148 list_init(&ret->functions); 145 149 strcpy(ret->name, pszFuncName); -
trunk/src/crypt32/proplist.c
r21354 r21967 49 49 { 50 50 InitializeCriticalSection((CRITICAL_SECTION*)&list->cs); 51 #if DEBUG 51 52 list->cs.DebugInfo->Spare[0] = (DWORD)(DWORD_PTR)(__FILE__ ": PCONTEXT_PROPERTY_LIST->cs"); 53 #endif 52 54 list_init(&list->properties); 53 55 } … … 66 68 CryptMemFree(prop); 67 69 } 70 #if DEBUG 68 71 list->cs.DebugInfo->Spare[0] = 0; 72 #endif 69 73 DeleteCriticalSection((CRITICAL_SECTION*)&list->cs); 70 74 CryptMemFree(list); -
trunk/src/crypt32/regstore.c
r21354 r21967 328 328 CRYPT_RegFlushStore(store, FALSE); 329 329 RegCloseKey(store->key); 330 #ifdef DEBUG 330 331 store->cs.DebugInfo->Spare[0] = 0; 332 #endif 331 333 DeleteCriticalSection((CRITICAL_SECTION*)&store->cs); 332 334 CryptMemFree(store); … … 549 551 regInfo->key = key; 550 552 InitializeCriticalSection((CRITICAL_SECTION*)®Info->cs); 553 #ifdef DEBUG 551 554 regInfo->cs.DebugInfo->Spare[0] = (DWORD)(DWORD_PTR)(__FILE__ ": PWINE_REGSTOREINFO->cs"); 555 #endif 552 556 list_init(®Info->certsToDelete); 553 557 list_init(®Info->crlsToDelete); -
trunk/src/rsaenh/handle.c
r21494 r21967 59 59 lpTable->iFirstFree = 0; 60 60 InitializeCriticalSection(&lpTable->mutex); 61 //lpTable->mutex.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": HANDLETBL.mutex"); 61 #ifdef DEBUG 62 lpTable->mutex.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": HANDLETBL.mutex"); 63 #endif 62 64 } 63 65 … … 78 80 79 81 HeapFree(GetProcessHeap(), 0, lpTable->paEntries); 80 //lpTable->mutex.DebugInfo->Spare[0] = 0; 82 #ifdef DEBUG 83 lpTable->mutex.DebugInfo->Spare[0] = 0; 84 #endif 81 85 DeleteCriticalSection(&lpTable->mutex); 82 86 } -
trunk/src/secur32/secur32.c
r21916 r21967 559 559 TRACE("\n"); 560 560 InitializeCriticalSection(&cs); 561 //cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs"); 561 #ifdef DEBUG 562 cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs"); 563 #endif 562 564 /* First load built-in providers */ 563 565 SECUR32_initSchannelSP(); … … 707 709 708 710 LeaveCriticalSection(&cs); 709 //cs.DebugInfo->Spare[0] = 0; 711 #ifdef DEBUG 712 cs.DebugInfo->Spare[0] = 0; 713 #endif 710 714 DeleteCriticalSection(&cs); 711 715 }
Note:
See TracChangeset
for help on using the changeset viewer.