Re: [dev] [dwm] drw_scm_free() and drw_clr_free() in drw.h

From: Listeria monocytogenes <listeria_AT_disroot.org>
Date: Sun, 28 Sep 2025 18:52:41 +0000

On Sat Sep 27, 2025 at 10:16 AM UTC, Hiltjo Posthuma wrote:
> Hi,
>
> Thanks for the feedback.
>
> I've pushed patches to dwm and dmenu.

Hi,

Thanks for the quick reply.

Given that drw_scm_create() is the one making the allocation, I would
consider having drw_scm_free() call free(3), as I don't see a case for
keeping the allocated buffer.

> Please test them.

Will do.
Received on Sun Sep 28 2025 - 20:52:41 CEST

This archive was generated by hypermail 2.3.0 : Sun Sep 28 2025 - 21:00:09 CEST