From 42241f76585c2b2c192b209bee80f96e8ec22055 Mon Sep 17 00:00:00 2001 From: Anton Alkin Date: Tue, 29 Sep 2026 10:08:15 +0200 Subject: [PATCH] Fix plugin paths handling --- core/base/src/TPluginManager.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/base/src/TPluginManager.cxx b/core/base/src/TPluginManager.cxx index 58a86fe47ce0f..e181d51f705d6 100644 --- a/core/base/src/TPluginManager.cxx +++ b/core/base/src/TPluginManager.cxx @@ -532,7 +532,8 @@ void TPluginManager::LoadHandlersFromPluginDirs(const char *base) } if (!skip) { if (sbase != "") { - const char *p = gSystem->PrependPathName(d, sbase); + TString p = sbase; + gSystem->PrependPathName(d, p); LoadHandlerMacros(p); } else { void *dirp = gSystem->OpenDirectory(d);