Skip to content

Commit 92e62dd

Browse files
nokute78edsiper
authored andcommitted
in_syslog: don't release unix_path on exit
Signed-off-by: Takahiro Yamashita <[email protected]>
1 parent bfc43c7 commit 92e62dd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plugins/in_syslog/syslog_server.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ int syslog_server_destroy(struct flb_syslog *ctx)
144144
if (ctx->mode == FLB_SYSLOG_UNIX_TCP || ctx->mode == FLB_SYSLOG_UNIX_UDP) {
145145
if (ctx->unix_path) {
146146
unlink(ctx->unix_path);
147-
flb_free(ctx->unix_path);
148147
}
149148
}
150149
else {

0 commit comments

Comments
 (0)