diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-06 10:46:49 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-06 10:46:49 +0100 |
commit | 88986fdbef795c61cd60231046663d3cd80b4947 (patch) | |
tree | e5202d37e53ff28ea84a6c1f51e7d490dad66bcd /src/cairo-xlib-visual.c | |
parent | 632fabc77d89254e2e6915148fa870f23c2a5722 (diff) | |
download | cairo-88986fdbef795c61cd60231046663d3cd80b4947.tar.gz |
xlib: Remove reference counting for cairo_xlib_screen_t
The screen is owned by the cairo_xlib_display_t device, so we can
simplify and close the refleak by removing the surplus reference
counting.
Diffstat (limited to 'src/cairo-xlib-visual.c')
-rw-r--r-- | src/cairo-xlib-visual.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xlib-visual.c b/src/cairo-xlib-visual.c index a76bf3576..e076ed01e 100644 --- a/src/cairo-xlib-visual.c +++ b/src/cairo-xlib-visual.c @@ -180,7 +180,7 @@ _cairo_xlib_visual_info_create (Display *dpy, } void -_cairo_xlib_visual_info_destroy (Display *dpy, cairo_xlib_visual_info_t *info) +_cairo_xlib_visual_info_destroy (cairo_xlib_visual_info_t *info) { /* No need for XFreeColors() whilst using DefaultColormap */ free (info); |