Re: [PATCH v2 8/9] parse-options: don't leak alias help messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 14 Mar 2021, at 19:47, Andrzej Hunt via GitGitGadget <gitgitgadget@xxxxxxxxx> wrote:
> +    for (i = 0; options[i].type != OPTION_END; i++) {
> +        if (options[i].flags & PARSE_OPT_FROM_ALIAS) {
> +            free((void *)options[i].help);
> +        }

Oops, I did it again: I’ll remove these unnecessary braces in V3.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux