restore needed variables for pluginsd (#19860)
Costa Tsaousis committed
Mar 13, 2025 at 21:52 UTC
719732fd128a3fc0d7acb35d29ec4e886aee039d
1 file changed
-9
src/plugins.d/plugins_d.c
-9
@@ -190,15 +190,6 @@ static void *pluginsd_worker_thread(void *arg) {
190
POPEN_INSTANCE *pi = cd->unsafe.pi;
191
cd->unsafe.pi = NULL;
192
193
- string_freez(cd->id);
194
- string_freez(cd->cmd);
195
- string_freez(cd->filename);
196
- string_freez(cd->fullfilename);
197
- cd->id = NULL;
198
- cd->cmd = NULL;
199
- cd->filename = NULL;
200
- cd->fullfilename = NULL;
201
-
193
spinlock_unlock(&cd->unsafe.spinlock);
194
195
if (pi)