[directfb] Add missing error status

We jumped to the ERROR path without setting an error status - assume
NO_MEMORY.
This commit is contained in:
Chris Wilson 2008-10-19 14:03:24 +01:00
parent 610451e4a7
commit aba457fe64

View file

@ -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;
}