right...this is malloc...
authordiscomfitor <discomfitor>
Tue, 10 Aug 2010 12:25:34 +0000 (12:25 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 10 Aug 2010 12:25:34 +0000 (12:25 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50963 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_array.c

index 75e8303..c9abb23 100644 (file)
@@ -427,6 +427,10 @@ eina_array_new(unsigned int step)
    array->total = 0;
    array->count = 0;
    array->step = step;
+#ifdef EFL_HAVE_POSIX_THREADS_RWLOCK
+   array->threadsafe = EINA_FALSE;
+   array->lockcount = 0;
+#endif
 
    DBG("array=%p", array);