index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/signing.c | 1 |
diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c index b21b6c46..5beea5e1 100644 --- a/lib/libalpm/signing.c +++ b/lib/libalpm/signing.c @@ -175,6 +175,7 @@ static int decode_signature(const char *base64_data, size_t destlen = len * 3 / 4; MALLOC(*data, destlen, goto error); if(base64_decode(*data, &destlen, usline, len)) { + free(*data); goto error; } *data_len = destlen; |