From 7378c0ebbe16f6809ad594e6fb6e20be20328334 Mon Sep 17 00:00:00 2001 From: Jake Smith Date: Mon, 8 Jan 2024 19:10:12 +0000 Subject: [PATCH] HPCC-31078 Fix -ve leak handling globals in esp Signed-off-by: Jake Smith --- esp/platform/espp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp/platform/espp.cpp b/esp/platform/espp.cpp index 18477717f7d..a9f9db19129 100644 --- a/esp/platform/espp.cpp +++ b/esp/platform/espp.cpp @@ -458,7 +458,7 @@ int init_main(int argc, const char* argv[]) // legacy esp.xml will contain a generated global section if present in the environment. // replace the empty stub created by loadConfiguration with this environment globals section. - Owned global = envpt->queryPropTree("global"); + Owned global = envpt->getPropTree("global"); if (global) { Owned currentConfig = getComponentConfig();