diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-07 21:36:44 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-07 21:36:44 +0200 |
commit | 4071e74313005c39bbb818f0d7f6e01d7ea6fdb1 (patch) | |
tree | 1a57ca67347219b4f183d39fa9b560ae909de826 /src/mimehooks.c | |
parent | cc3421c4711b37c61d8f51e53f053b381729170d (diff) |
Cleanup
Don't leak a string list.
Diffstat (limited to 'src/mimehooks.c')
-rw-r--r-- | src/mimehooks.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
50 | if (!isEmpty_String(requestUrl)) { | 50 | if (!isEmpty_String(requestUrl)) { |
51 | setEnvironment_Process( | 51 | setEnvironment_Process( |
52 | proc, | 52 | proc, |
53 | newStrings_StringList( | 53 | iClob(newStrings_StringList( |
54 | collectNewFormat_String("REQUEST_URL=%s", cstr_String(requestUrl)), NULL)); | 54 | collectNewFormat_String("REQUEST_URL=%s", cstr_String(requestUrl)), NULL))); |
55 | } | 55 | } |
56 | iBlock *output = NULL; | 56 | iBlock *output = NULL; |
57 | if (start_Process(proc)) { | 57 | if (start_Process(proc)) { |