mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-08 14:10:26 +01:00
[directfb] Add missing error status
We jumped to the ERROR path without setting an error status - assume NO_MEMORY.
This commit is contained in:
parent
610451e4a7
commit
aba457fe64
1 changed files with 1 additions and 0 deletions
|
|
@ -405,6 +405,7 @@ _directfb_acquire_surface (cairo_directfb_surface_t *surface,
|
|||
|
||||
if (buffer->Lock (buffer, lock_flags, &data, &pitch)) {
|
||||
D_DEBUG_AT (CairoDFB_Acquire, "Couldn't lock surface!\n");
|
||||
status = _cairo_error (CAIRO_STATUS_NO_MEMORY);
|
||||
goto ERROR;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue