Remove an unneeded for loop in the deallocation of KBKey