mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-04-02 19:29:44 +00:00
Memory leak in Linux etherhelpertool.c.
This commit is contained in:
parent
e12789a57e
commit
db897d0d42
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user