Fix the env var leak
This commit is contained in:
parent
89156e53b7
commit
e3915b66b7
@ -151,6 +151,7 @@ wLogJournaldAppender* WLog_JournaldAppender_New(wLog* log)
|
||||
if (!appender->stream)
|
||||
goto error_stream_open;
|
||||
setbuffer(appender->stream, NULL, 0);
|
||||
free(env);
|
||||
return appender;
|
||||
|
||||
error_stream_open:
|
||||
|
Loading…
Reference in New Issue
Block a user