Memory leak in Linux etherhelpertool.c.

This commit is contained in:
Ger Schinkel 2024-03-29 12:08:11 +01:00
parent e12789a57e
commit db897d0d42
1 changed files with 1 additions and 1 deletions

View File

@ -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);