summaryrefslogtreecommitdiff
path: root/Build/source/libs/cairo/cairo-src/src/cairo-xlib-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/cairo/cairo-src/src/cairo-xlib-display.c')
-rw-r--r--Build/source/libs/cairo/cairo-src/src/cairo-xlib-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/libs/cairo/cairo-src/src/cairo-xlib-display.c b/Build/source/libs/cairo/cairo-src/src/cairo-xlib-display.c
index a2a3bc7924b..add42299b4c 100644
--- a/Build/source/libs/cairo/cairo-src/src/cairo-xlib-display.c
+++ b/Build/source/libs/cairo/cairo-src/src/cairo-xlib-display.c
@@ -207,7 +207,7 @@ _cairo_xlib_device_create (Display *dpy)
}
}
- display = malloc (sizeof (cairo_xlib_display_t));
+ display = _cairo_malloc (sizeof (cairo_xlib_display_t));
if (unlikely (display == NULL)) {
device = _cairo_device_create_in_error (CAIRO_STATUS_NO_MEMORY);
goto UNLOCK;