mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-20 05:50:10 +01:00
parent
2e2080247f
commit
a1c31f5ed5
1 changed files with 1 additions and 1 deletions
|
|
@ -93,13 +93,13 @@ _cairo_xcb_connection_shm_get_image (cairo_xcb_connection_t *connection,
|
|||
XCB_IMAGE_FORMAT_Z_PIXMAP,
|
||||
shmseg, offset),
|
||||
NULL);
|
||||
free (reply);
|
||||
|
||||
if (!reply) {
|
||||
/* an error here should be impossible */
|
||||
return _cairo_error (CAIRO_STATUS_READ_ERROR);
|
||||
}
|
||||
|
||||
free (reply);
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue