fix XGetWMName leak

This commit is contained in:
Akos Horvath 2023-08-10 12:01:38 +02:00
parent 077c2b5f69
commit ce2fb27ccb

View File

@ -88,6 +88,8 @@ Client* wm_client_create(Wm *wm, Window w)
wm_client_set_atom(wm, c, "_NET_WM_DESKTOP", (unsigned char*)&c->ws, XA_CARDINAL, 1);
XFree(xtp.value);
return c;
}