1
0
Fork 0

fixed memleak

This commit is contained in:
Jan Steemann 2014-10-15 10:13:24 +02:00
parent b7ffe8d74e
commit 8e40e727a4
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ static void FreeAuthCacheInfo (TRI_vocbase_auth_cache_t* cached) {
TRI_Free(TRI_CORE_MEM_ZONE, cached->_hash);
}
if (cached->_username == nullptr) {
if (cached->_username != nullptr) {
TRI_Free(TRI_CORE_MEM_ZONE, cached->_username);
}