Commit f4d8ab82 authored by Eric Engestrom's avatar Eric Engestrom 💤
Browse files

fakexlib: fix pointer deref

Closes: #1

Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
parent 217e3704
Pipeline #148507 passed with stages
in 43 seconds
......@@ -53,7 +53,7 @@ int
XCloseDisplay(Display *dpy)
{
assert(dpy);
free(((_XPrivDisplay)&dpy)->screens);
free(((_XPrivDisplay)dpy)->screens);
free(dpy);
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment