mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-08-09 18:25:33 +00:00
Memory leak in Linux etherhelpertool.c.
This commit is contained in:
@@ -135,7 +135,7 @@ static int main_loop(int sd, int use_bpf)
|
|||||||
|
|
||||||
outgoing = malloc(blen);
|
outgoing = malloc(blen);
|
||||||
if (outgoing == NULL) {
|
if (outgoing == NULL) {
|
||||||
free(outgoing);
|
free(incoming);
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"%s: malloc() failed.\n",
|
"%s: malloc() failed.\n",
|
||||||
exec_name);
|
exec_name);
|
||||||
|
Reference in New Issue
Block a user