Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
delete 3rd party payload properly #428
  • Loading branch information
F4FXL committed Dec 2, 2022
commit 55969617ea225150a05b7bef9bc2bb413aaacdaa
4 changes: 3 additions & 1 deletion src/pfilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ int pfilter (int from_chan, int to_chan, char *filter, packet_t pp, int is_aprs)
return (0);
}

return pfilter(from_chan, to_chan, filter, pp_payload, is_aprs);
result = pfilter(from_chan, to_chan, filter, pp_payload, is_aprs);
ax25_delete(pp_payload);
return result;
}

pfstate.pp = pp;
Expand Down