From 7bdf9f1e25ee23f5fb7537637bfacdbf37bb6d4d Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Mon, 3 Jan 2022 11:01:47 -0800 Subject: [PATCH] remove another license double-clear --- src/ServerShell.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ServerShell.cc b/src/ServerShell.cc index 64761f60..2d33698e 100644 --- a/src/ServerShell.cc +++ b/src/ServerShell.cc @@ -87,7 +87,6 @@ commands:\n\ } else if (command_name == "add-license") { shared_ptr l(new License()); - memset(l.get(), 0, sizeof(License)); for (const string& token : split(command_args, ' ')) { if (starts_with(token, "username=")) {