From e88c8eae6a6c92d832b06b1031ad6c8c28b3b51c Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 4 Feb 2019 08:53:12 +0100 Subject: [PATCH] AK: Fix leak in HashTable move assignment operator. --- AK/HashTable.h | 1 + 1 file changed, 1 insertion(+) diff --git a/AK/HashTable.h b/AK/HashTable.h index 88439445d50..0418af7d666 100644 --- a/AK/HashTable.h +++ b/AK/HashTable.h @@ -33,6 +33,7 @@ public: HashTable& operator=(HashTable&& other) { if (this != &other) { + clear(); m_buckets = other.m_buckets; m_size = other.m_size; m_capacity = other.m_capacity;