diff --git a/osquery/main/windows/main.cpp b/osquery/main/windows/main.cpp index 8171df2ba6f..255e97f6ee3 100644 --- a/osquery/main/windows/main.cpp +++ b/osquery/main/windows/main.cpp @@ -95,7 +95,6 @@ class ServiceArgumentParser { // On error, bail out and clean up the vector if (arg == nullptr) { cleanArgs(); - ::LocalFree(wargv); break; } args_.push_back(arg);