diff --git a/plugins/in_winevtlog/pack.c b/plugins/in_winevtlog/pack.c index 28075436b8a..18ee97e48d1 100644 --- a/plugins/in_winevtlog/pack.c +++ b/plugins/in_winevtlog/pack.c @@ -83,7 +83,7 @@ static int pack_binary(struct winevtlog_config *ctx, PBYTE bin, size_t length) unsigned int idx = 0; if (length == 0) { - pack_nullstr(ctx->log_encoder); + pack_nullstr(ctx); return 0; }