Re: [PATCH v6 00/15] Add allocation annotation to more functions

2025-02-07 Thread David Marchand
On Sat, Jan 25, 2025 at 7:40 PM Stephen Hemminger wrote: > > This patch series builds on the allocation function attributes > added in 24.11 release. These annotations will allow for compiler > to flag cases where a pointer is allocated with one function > but incorrectly passed to a different fre

[PATCH v6 00/15] Add allocation annotation to more functions

2025-01-25 Thread Stephen Hemminger
This patch series builds on the allocation function attributes added in 24.11 release. These annotations will allow for compiler to flag cases where a pointer is allocated with one function but incorrectly passed to a different free function. The current code base does this correctly now, but addi