[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56462: 29.0.50; [PATCH] Memory leak in ns_draw_relief
From: |
Po Lu |
Subject: |
bug#56462: 29.0.50; [PATCH] Memory leak in ns_draw_relief |
Date: |
Mon, 11 Jul 2022 18:25:35 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Daniel Martín <mardani29@yahoo.es> writes:
> Daniel Martín via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@gnu.org> writes:
>
>>>
>>> Thanks. But I think the use of static variables there is rather ugly,
>>> and it would be much nicer if we replicated the `x_setup_relief_color'
>>> logic there.
>>>
>>> Do you want to work on that, or should I?
>>
>> Thanks, I can give it a try.
>
> Here's a patch where the static variables are now proper fields in the
> ns_output structure. Is that what you had in mind?
Now installed, so I'm closing this bug.