Skip to content

Commit ea87590

Browse files
committed
allocation fix
1 parent 0ac27d2 commit ea87590

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pkg/plugin/ebpfwindows/parser_windows.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,7 @@ func (p *Parser) decode(data []byte, decoded *pb.Flow) error {
220220

221221
case MessageTypePktmonDrop:
222222
slog.Info("Reached pktmon drop event")
223-
224-
pdn := &PktmonDropNotify{}
223+
pdn = &PktmonDropNotify{}
225224
if err := DecodePktmonDrop(data, pdn); err != nil {
226225
return fmt.Errorf("failed to parse pktmon drop here: %w", err)
227226
}

0 commit comments

Comments
 (0)