summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-05-04 16:46:52 -0500
committerDan McGee <dan@archlinux.org>2011-05-04 16:46:52 -0500
commit73553e60ec66484cdc2734eba3494d9a49eb3b70 (patch)
tree04e870c8093f4b77d206dc059a46d80c42fdf819
parent22b133839088c88801b1f24455e41425a16de372 (diff)
downloadpacman-73553e60ec66484cdc2734eba3494d9a49eb3b70.tar.xz
Fix incorrect memory allocation assignment
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--lib/libalpm/signing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c
index b3a6500e..9bb9d0ad 100644
--- a/lib/libalpm/signing.c
+++ b/lib/libalpm/signing.c
@@ -180,7 +180,7 @@ static int decode_signature(const char *base64_data,
goto error;
}
/* alloc our memory and repeat the call to decode */
- MALLOC(data, (size_t)destlen, goto error);
+ MALLOC(*data, (size_t)destlen, goto error);
ret = base64_decode(*data, &destlen, usline, len);
if(ret != 0) {
goto error;