Plug a memleak in pgpArmorWrap()

This commit is contained in:
Panu Matilainen 2008-04-15 17:26:15 +03:00
parent d43ee53dff
commit 0097e6fe95
1 changed files with 1 additions and 0 deletions

View File

@ -1334,6 +1334,7 @@ char * pgpArmorWrap(int atype, const unsigned char * s, size_t ns)
"%s-----END PGP %s-----\n",
valstr, buf != NULL ? buf : "", valstr);
free(buf);
return val;
}