> +     if (clients[c]->urgent && (wmh = XGetWMHints(dpy, clients[c]->win)) &&
> +         (win_wmh = XGetWMHints(dpy, win))) {

This will leak if the first XGetWMHints succeeds but the 2nd one fails.

- NRK

Reply via email to