Plug a memleak in pgpArmorWrap()
This commit is contained in:
parent
d43ee53dff
commit
0097e6fe95
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue