Commit 021b004c authored by Jan Zerebecki's avatar Jan Zerebecki Committed by Alexandre Julliard

rsaenh: Add DebugInfo to critical sections.

parent cfd12107
......@@ -58,6 +58,7 @@ void init_handle_table(HANDLETABLE *lpTable)
lpTable->iEntries = 0;
lpTable->iFirstFree = 0;
InitializeCriticalSection(&lpTable->mutex);
lpTable->mutex.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": HANDLETABLE.mutex");
}
/******************************************************************************
......@@ -76,6 +77,7 @@ void destroy_handle_table(HANDLETABLE *lpTable)
TRACE("(lpTable=%p)\n", lpTable);
HeapFree(GetProcessHeap(), 0, lpTable->paEntries);
lpTable->mutex.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&lpTable->mutex);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment