diff options
Diffstat (limited to 'lib/hash.c')
| -rw-r--r-- | lib/hash.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hash.c b/lib/hash.c index 611fd33fbe..c02b81814c 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -322,8 +322,7 @@ void hash_free(struct hash *hash)  	}  	pthread_mutex_unlock(&_hashes_mtx); -	if (hash->name) -		XFREE(MTYPE_HASH, hash->name); +	XFREE(MTYPE_HASH, hash->name);  	XFREE(MTYPE_HASH_INDEX, hash->index);  	XFREE(MTYPE_HASH, hash);  | 
