summaryrefslogtreecommitdiff
path: root/src/cairo-directfb-surface.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-10-19 14:03:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-10-19 14:03:24 +0100
commitaba457fe64f12598043b11ae076f0a93fe05eba7 (patch)
tree38e2f5c7012533695fc7ccf3176381d65987962a /src/cairo-directfb-surface.c
parent610451e4a7b079d30a73384a76f0aaab250c2970 (diff)
[directfb] Add missing error status
We jumped to the ERROR path without setting an error status - assume NO_MEMORY.
Diffstat (limited to 'src/cairo-directfb-surface.c')
-rw-r--r--src/cairo-directfb-surface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
index 6807589b..d8ca9b83 100644
--- a/src/cairo-directfb-surface.c
+++ b/src/cairo-directfb-surface.c
@@ -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;
}