Initialize sign to NULL so that we don't attempt to free() it in case

of failure.

MFC after: 1 week
This commit is contained in:
Mike Heffner 2003-02-20 20:13:07 +00:00
parent bb5bdd386e
commit b655930760

View File

@ -104,6 +104,7 @@ sign(filename, type, userid, envp)
struct signature *sign;
int success;
sign = NULL;
switch(type) {
case TAG_PGP:
success = retrieve_pgp_signature(filename, &sign, userid, envp);