mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-13 00:00:34 +01:00
Merge branch 'fix__cairo_xlib_device_create' into 'master'
Fix: Conditional jump or move depends on uninitialised value(s). Found by valgrind. See merge request cairo/cairo!543
This commit is contained in:
commit
4ba91ae2f9
1 changed files with 1 additions and 0 deletions
|
|
@ -213,6 +213,7 @@ _cairo_xlib_device_create (Display *dpy)
|
|||
goto UNLOCK;
|
||||
}
|
||||
|
||||
memset (display, 0, sizeof (cairo_xlib_display_t));
|
||||
_cairo_device_init (&display->base, &_cairo_xlib_device_backend);
|
||||
|
||||
display->display = dpy;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue