Skip to content
Snippets Groups Projects
Commit 40faee0b authored by Daniel Salzman's avatar Daniel Salzman
Browse files

Fix bad arguments in free callings

parent aaa566a2
No related branches found
No related tags found
No related merge requests found
......@@ -278,7 +278,7 @@ int32_t base32hex_encode_alloc(const uint8_t *in,
// Check return.
if (ret < 0) {
free(out);
free(*out);
return -1;
} else {
return ret;
......
......@@ -271,7 +271,7 @@ int32_t base64_decode_alloc(const uint8_t *in,
// Check return.
if (ret < 0) {
free(out);
free(*out);
return -1;
} else {
return ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment