Index: /trunk/xcache/xc_lock.c
===================================================================
--- /trunk/xcache/xc_lock.c	(revision 1199)
+++ /trunk/xcache/xc_lock.c	(revision 1200)
@@ -201,6 +201,6 @@
 	return (xc_lock_t *) 1;
 #else
-#	ifdef ZTS
 	xc_lock_t *lck = malloc(sizeof(xc_lock_t));
+#	ifdef ZTS
 #		if defined(PTHREADS)
 	pthread_mutexattr_t psharedm;
