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:
Werner Koch 2014-12-22 12:44:13 +01:00
parent 5a556e4e88
commit 6056d24673
1 changed files with 1 additions and 0 deletions

View File

@ -656,6 +656,7 @@ write_th (FILE *fp)
*p++ = 0;
fprintf (fp, ".TH %s %s %s \"%s\" \"%s\"\n",
name, p, isodatestring (), opt_release, opt_source);
free (name);
return 0;
}