Skip to content

Commit

Permalink
Memory leak in Linux etherhelpertool.c.
Browse files Browse the repository at this point in the history
  • Loading branch information
schinkelg committed Mar 29, 2024
1 parent e12789a commit db897d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BasiliskII/src/Unix/Linux/etherhelpertool.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static int main_loop(int sd, int use_bpf)

outgoing = malloc(blen);
if (outgoing == NULL) {
free(outgoing);
free(incoming);
fprintf(stderr,
"%s: malloc() failed.\n",
exec_name);
Expand Down

0 comments on commit db897d0

Please sign in to comment.