[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: |
Daniel Martín |
Subject: |
bug#56462: 29.0.50; [PATCH] Memory leak in ns_draw_relief |
Date: |
Sun, 10 Jul 2022 22:52:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) |
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?
0001-Fix-memory-leak-in-ns_draw_relief.patch
Description: Text Data