mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-28 06:20:12 +01:00
cairo-quartz-image-surface.c: Add missing call to cairo_surface_reference (Thanks to Fred Bca)
This commit is contained in:
parent
fa1b02d7e5
commit
ba2afdcacf
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ cairo_quartz_image_surface_create (cairo_surface_t *surface)
|
|||
qisurf->height = height;
|
||||
|
||||
qisurf->image = image;
|
||||
qisurf->imageSurface = image_surface;
|
||||
qisurf->imageSurface = (cairo_image_surface_t*) cairo_surface_reference(surface);
|
||||
|
||||
return &qisurf->base;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue