From 4071e74313005c39bbb818f0d7f6e01d7ea6fdb1 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 7 Dec 2020 21:36:44 +0200 Subject: Cleanup Don't leak a string list. --- src/mimehooks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mimehooks.c') diff --git a/src/mimehooks.c b/src/mimehooks.c index 5a1f0a9e..f4ec6bf4 100644 --- a/src/mimehooks.c +++ b/src/mimehooks.c @@ -50,8 +50,8 @@ iBlock *run_FilterHook_(const iFilterHook *d, const iString *mime, const iBlock if (!isEmpty_String(requestUrl)) { setEnvironment_Process( proc, - newStrings_StringList( - collectNewFormat_String("REQUEST_URL=%s", cstr_String(requestUrl)), NULL)); + iClob(newStrings_StringList( + collectNewFormat_String("REQUEST_URL=%s", cstr_String(requestUrl)), NULL))); } iBlock *output = NULL; if (start_Process(proc)) { -- cgit v1.2.3