Commit 65ff628a authored by Niels Möller's avatar Niels Möller
Browse files

* src/client_x11.c (make_client_x11_display): Initialize the fake

cookie properly.

Rev: src/client_x11.c:1.11
parent 88369207
......@@ -610,14 +610,15 @@ make_client_x11_display(const char *display, struct lsh_string *fake)
{
NEW(client_x11_display, self);
self->fake = fake;
if (!parse_display(self, display))
{
werror("Can't parse X11 display: `%s'\n", display);
lsh_string_free(fake);
KILL(self);
return NULL;
}
return self;
}
......
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