1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix minor memleak

This commit is contained in:
Dubslow 2015-03-21 15:58:26 -05:00
parent d33f87772d
commit ff4b431e5e
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA

View File

@ -159,6 +159,7 @@ QByteArray Core::getSaltFromFile(QString filename)
}
QByteArray res = QByteArray::fromRawData(reinterpret_cast<const char*>(salt), tox_pass_salt_length());
delete[] salt;
return res;
}