mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-28 01:12:30 +01:00
The name of the color is stored in a newly created PLString which leaks. This is due to the fact that they are created with a refCount of 1, then the PLArray in which they are placed increments that count, so at list destruction the count would return to 1 instead of 0, meaning the PLString won't be freed. This patch properly calls WMReleasePropList after addition to the list, so that the count goes back to 1, which means it will be automatically freed when the PLArray will be released. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
62 KiB
62 KiB