summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_address.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_address.h')
-rw-r--r--protocols/Tox/src/tox_address.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_address.h b/protocols/Tox/src/tox_address.h
index 2bd0d82bbe..a4b152427d 100644
--- a/protocols/Tox/src/tox_address.h
+++ b/protocols/Tox/src/tox_address.h
@@ -56,7 +56,6 @@ public:
char *endptr;
const char *pos = hex;
int size = mir_strlen(hex) / 2;
- uint8_t *result = (uint8_t*)mir_alloc(size);
for (int i = 0; i < size; i++)
{
char buf[5] = { '0', 'x', pos[0], pos[1], 0 };