Fix incorrect memory allocation assignment
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
22b1338390
commit
73553e60ec
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ static int decode_signature(const char *base64_data,
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
/* alloc our memory and repeat the call to decode */
|
/* 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);
|
ret = base64_decode(*data, &destlen, usline, len);
|
||||||
if(ret != 0) {
|
if(ret != 0) {
|
||||||
goto error;
|
goto error;
|
||||||
|
|
Loading…
Add table
Reference in a new issue