Re: [hackers] [tabbed][PATCH] focus(): clear XUrgencyHint from the container window

From: Mikhail Pchelin <misha_AT_freebsd.org>
Date: Tue, 21 Jan 2025 20:28:42 +0300

On Tue, Jan 21, 2025 at 05:03:25PM +0000, NRK wrote:
> > + 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.

Thank you for the review, updated version bellow.
Received on Tue Jan 21 2025 - 18:28:42 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 21 2025 - 18:36:37 CET