diff options
Diffstat (limited to 'pixman/pixman-compiler.h')
-rw-r--r-- | pixman/pixman-compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-compiler.h b/pixman/pixman-compiler.h index a4e3f88..cdac0d8 100644 --- a/pixman/pixman-compiler.h +++ b/pixman/pixman-compiler.h @@ -101,7 +101,7 @@ static type * \ tls_ ## name ## _alloc (key) \ { \ - type *value = malloc (sizeof (type)); \ + type *value = calloc (1, sizeof (type)); \ if (value) \ pthread_setspecific (key, value); \ return value; \ |