diff options
Diffstat (limited to 'Build/source/libs/cairo/cairo-src/src/cairo-xlib-visual.c')
-rw-r--r-- | Build/source/libs/cairo/cairo-src/src/cairo-xlib-visual.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/libs/cairo/cairo-src/src/cairo-xlib-visual.c b/Build/source/libs/cairo/cairo-src/src/cairo-xlib-visual.c index 863822eebbd..979cd5b36b4 100644 --- a/Build/source/libs/cairo/cairo-src/src/cairo-xlib-visual.c +++ b/Build/source/libs/cairo/cairo-src/src/cairo-xlib-visual.c @@ -82,7 +82,7 @@ _cairo_xlib_visual_info_create (Display *dpy, for (i = 0; i < RAMP_SIZE; i++) ramp_index_to_short[i] = (0xffff * i + ((RAMP_SIZE-1)>>1)) / (RAMP_SIZE-1); - info = malloc (sizeof (cairo_xlib_visual_info_t)); + info = _cairo_malloc (sizeof (cairo_xlib_visual_info_t)); if (unlikely (info == NULL)) return _cairo_error (CAIRO_STATUS_NO_MEMORY); |