/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#include "squid.h"
#include "mgr/ActionPasswordList.h"
-#include "wordlist.h"
+#include "sbuf/List.h"
Mgr::ActionPasswordList::~ActionPasswordList()
{
- safe_free(passwd);
- wordlistDestroy(&actions);
- delete next;
+ xfree(passwd);
+ delete next; // recurse, these lists are usually not long
}