diff --git a/BasiliskII/src/Unix/Linux/etherhelpertool.c b/BasiliskII/src/Unix/Linux/etherhelpertool.c index 5d6117bc..e756df08 100644 --- a/BasiliskII/src/Unix/Linux/etherhelpertool.c +++ b/BasiliskII/src/Unix/Linux/etherhelpertool.c @@ -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);