Re: [PATCH v2 03/12] attr.c: update a stale comment on "struct match_attr"
On Mon, May 16, 2016 at 4:34 PM, Stefan Beller <sbeller@google.com> wrote:
Show 8 quoted lines
>> - * If is_macro is false, then u.pattern points at the filename pattern
>> - * to which the rule applies. (The memory pointed to is part of the
>> - * memory block allocated for the match_attr instance.)
>> + * If is_macro is false, then u.pat is the filename pattern to which the
>> + * rule applies.
>
> and we don't need to talk about memory ownership here as that
> is clear for 'struct pattern' documented elsewhere?
It is embedded in the structure which you cannot lose independently, no?