[Ltrace-devel] [PATCH] Fix a memory leak in parse_typedef_name
Petr Machata
pmachata at gmail.com
Mon May 4 19:50:37 UTC 2015
Роман Донченко <dpb at corrigendum.ru> writes:
> --- a/read_config_file.c
> +++ b/read_config_file.c
> @@ -387,6 +387,7 @@ parse_typedef_name(struct protolib *plib, struct locus *loc, char **str)
> return NULL;
>
> struct named_type *nt = protolib_lookup_type(plib, buf, true);
> + free(buf);
> if (nt == NULL)
> return NULL;
> return nt->info;
This got into spam. Applied now, thanks!
Petr
More information about the Ltrace-devel
mailing list