Fix uninitialized cache when pthreads are used
authorSøren Sandmann Pedersen <ssp@redhat.com>
Wed, 7 Apr 2010 05:39:14 +0000 (01:39 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Wed, 14 Apr 2010 02:41:47 +0000 (22:41 -0400)
commit634ba33b5b1fcfd5a0e7910f9991b4ed4f674549
treee5652b70e3e62b52cdc17546cc483ab38ba2d8f2
parentbc11545a1b5c22fe74fc954e26e8a8e9d7cfa39e
Fix uninitialized cache when pthreads are used

The thread local cache is allocated with malloc(), but we rely on it
being initialized to zero, so allocate it with calloc() instead.
pixman/pixman-compiler.h