mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
common: Annotate semi-static allocation.
* common/argparse.c (optfile_parse): Allow string arguments to leak. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
78aeb236fe
commit
49fdd0887c
@ -699,6 +699,8 @@ optfile_parse (FILE *fp, const char *filename, unsigned *lineno,
|
||||
}
|
||||
if (!set_opt_arg (arg, opts[idx].flags, p))
|
||||
xfree (buffer);
|
||||
else
|
||||
gpgrt_annotate_leaked_object (buffer);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user