summaryrefslogtreecommitdiff
path: root/src/cairo-skiplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-skiplist.c')
-rw-r--r--src/cairo-skiplist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-skiplist.c b/src/cairo-skiplist.c
index fe80263f..ebeb52c8 100644
--- a/src/cairo-skiplist.c
+++ b/src/cairo-skiplist.c
@@ -356,7 +356,7 @@ _cairo_skip_list_insert (cairo_skip_list_t *list, void *data, int unique)
data_and_elt = alloc_node_for_level (list, level);
if (data_and_elt == NULL) {
- _cairo_error (CAIRO_STATUS_NO_MEMORY);
+ _cairo_error_throw (CAIRO_STATUS_NO_MEMORY);
return NULL;
}