summaryrefslogtreecommitdiff
path: root/Build/source/libs/cairo/cairo-src/src/cairo-xcb-shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/cairo/cairo-src/src/cairo-xcb-shm.c')
-rw-r--r--Build/source/libs/cairo/cairo-src/src/cairo-xcb-shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/libs/cairo/cairo-src/src/cairo-xcb-shm.c b/Build/source/libs/cairo/cairo-src/src/cairo-xcb-shm.c
index 2be2dac5bf9..763778ab2c4 100644
--- a/Build/source/libs/cairo/cairo-src/src/cairo-xcb-shm.c
+++ b/Build/source/libs/cairo/cairo-src/src/cairo-xcb-shm.c
@@ -209,7 +209,7 @@ _cairo_xcb_connection_allocate_shm_info (cairo_xcb_connection_t *connection,
return _cairo_error (CAIRO_STATUS_NO_MEMORY);
}
- pool = malloc (sizeof (cairo_xcb_shm_mem_pool_t));
+ pool = _cairo_malloc (sizeof (cairo_xcb_shm_mem_pool_t));
if (unlikely (pool == NULL)) {
CAIRO_MUTEX_UNLOCK (connection->shm_mutex);
return _cairo_error (CAIRO_STATUS_NO_MEMORY);