summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-06-16 11:36:36 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-06-16 11:36:36 +0100
commit116c93cb7fe8ad55457c53b4652e8d3117581158 (patch)
treec2519b6727bcc729519a576adf912b9c0ef6608b /src
parent22587f57bd5d1b4440d936cd4655a7e8fcebdf36 (diff)
[cairo] Remove instance of 'return free()'
Gah! This is a GCC-ism, so therefore it has to go.
Diffstat (limited to 'src')
-rw-r--r--src/cairo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo.c b/src/cairo.c
index 91b882883..5f26d6f26 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -150,7 +150,8 @@ _context_put (cairo_t *cr)
if (cr < &_context_stash.pool[0] ||
cr >= &_context_stash.pool[CAIRO_STASH_SIZE])
{
- return free (cr);
+ free (cr);
+ return;
}
avail = ~(1 << (cr - &_context_stash.pool[0]));