summaryrefslogtreecommitdiff
path: root/Build/source/libs/cairo/cairo-src/src/cairo-xlib-screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/cairo/cairo-src/src/cairo-xlib-screen.c')
-rw-r--r--Build/source/libs/cairo/cairo-src/src/cairo-xlib-screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/libs/cairo/cairo-src/src/cairo-xlib-screen.c b/Build/source/libs/cairo/cairo-src/src/cairo-xlib-screen.c
index 57beeaab426..ff3bdfcf9e1 100644
--- a/Build/source/libs/cairo/cairo-src/src/cairo-xlib-screen.c
+++ b/Build/source/libs/cairo/cairo-src/src/cairo-xlib-screen.c
@@ -330,7 +330,7 @@ _cairo_xlib_screen_get (Display *dpy,
goto CLEANUP_DISPLAY;
}
- info = malloc (sizeof (cairo_xlib_screen_t));
+ info = _cairo_malloc (sizeof (cairo_xlib_screen_t));
if (unlikely (info == NULL)) {
status = _cairo_error (CAIRO_STATUS_NO_MEMORY);
goto CLEANUP_DISPLAY;