mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01:00
doc: Fix memory leak in yat2m.
* doc/yat2m.c (write_th): Free NAME. -- Reported-by: Joshua Rogers <git@internot.info>
This commit is contained in:
parent
907a9a1e98
commit
01b364b6da
@ -609,6 +609,7 @@ write_th (FILE *fp)
|
|||||||
*p++ = 0;
|
*p++ = 0;
|
||||||
fprintf (fp, ".TH %s %s %s \"%s\" \"%s\"\n",
|
fprintf (fp, ".TH %s %s %s \"%s\" \"%s\"\n",
|
||||||
name, p, isodatestring (), opt_release, opt_source);
|
name, p, isodatestring (), opt_release, opt_source);
|
||||||
|
free (name);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user