Re: [Pixman] [PATCH] Add destructor function to free pixman_implementation_t structs on exit

2017-09-18 Thread Emil Velikov
On 18 September 2017 at 11:46, Siarhei Siamashka wrote: > This fixes a few small memory leaks detected by valgrind. This memory > was allocated once on pixman library load and never freed (but still > was reachable). The fix only helps if the compiler has support for > __attribute__((constructor))

Re: [Pixman] [PATCH] Add destructor function to free pixman_implementation_t structs on exit

2017-09-18 Thread Pekka Paalanen
On Mon, 18 Sep 2017 13:46:06 +0300 Siarhei Siamashka wrote: > This fixes a few small memory leaks detected by valgrind. This memory > was allocated once on pixman library load and never freed (but still > was reachable). The fix only helps if the compiler has support for > __attribute__((construc

[Pixman] [PATCH] Add destructor function to free pixman_implementation_t structs on exit

2017-09-18 Thread Siarhei Siamashka
This fixes a few small memory leaks detected by valgrind. This memory was allocated once on pixman library load and never freed (but still was reachable). The fix only helps if the compiler has support for __attribute__((constructor)) and __attribute__((destructor)) function attributes. Reported-b