From 73553e60ec66484cdc2734eba3494d9a49eb3b70 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 4 May 2011 16:46:52 -0500 Subject: Fix incorrect memory allocation assignment Signed-off-by: Dan McGee --- lib/libalpm/signing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.3-24-g4f1b