free paddedData pointer in ascii85_encode()
This commit is contained in:
parent
9b6b7bc19a
commit
cffe91146e
|
|
@ -342,6 +342,7 @@ unsigned char *ascii85_encode(const unsigned char *data, const size_t input_leng
|
|||
encoded_data[idx]=b85_enc[encoded_data[idx]];
|
||||
idx++;
|
||||
}
|
||||
my_free(1668, &paddedData);
|
||||
*output_length-=padding;
|
||||
encoded_data[*output_length]=0;
|
||||
return encoded_data;
|
||||
|
|
|
|||
Loading…
Reference in New Issue