Fix incorrect memory allocation assignment

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-05-04 16:46:52 -05:00
parent 22b1338390
commit 73553e60ec
1 changed files with 1 additions and 1 deletions

View File

@ -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;