summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-10-03 22:27:09 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2007-10-04 00:42:29 +0100
commit8cba73a36c4ec42601388bb9374f3182651bfe60 (patch)
tree4aa8e5eafbd7600598b5d84b1051e90fbe62485d
parente767c8b50af578209f1dac3b8f2ae22835e1fee7 (diff)
[cairo-polygon] Add a _cairo_error().
Add a _cairo_error() to an originating error site.
-rw-r--r--src/cairo-polygon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-polygon.c b/src/cairo-polygon.c
index 726884a9..7128e4b5 100644
--- a/src/cairo-polygon.c
+++ b/src/cairo-polygon.c
@@ -101,6 +101,7 @@ _cairo_polygon_grow (cairo_polygon_t *polygon)
}
if (new_edges == NULL) {
+ _cairo_error (CAIRO_STATUS_NO_MEMORY);
return CAIRO_STATUS_NO_MEMORY;
}