summaryrefslogtreecommitdiffstats
path: root/src/windows/identity/kmq/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/identity/kmq/init.c')
-rw-r--r--src/windows/identity/kmq/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/windows/identity/kmq/init.c b/src/windows/identity/kmq/init.c
index cb50c54761..f157e6ab22 100644
--- a/src/windows/identity/kmq/init.c
+++ b/src/windows/identity/kmq/init.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004 Massachusetts Institute of Technology
+ * Copyright (c) 2005 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
@@ -81,7 +81,7 @@ void kmqint_attach_this_thread(void) {
if(!q) {
EnterCriticalSection(&cs_kmq_global);
- q = malloc(sizeof(kmq_queue));
+ q = PMALLOC(sizeof(kmq_queue));
InitializeCriticalSection(&q->cs);
q->thread = GetCurrentThreadId();