You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
295 B

diff --git a/pcap-linux.c b/pcap-linux.c
index 86ce887..3c09617 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -1599,8 +1599,8 @@ get_if_flags(const char *name, bpf_u_int32 *flags, char *errbuf)
}
}
fclose(fh);
- free(pathstr);
}
+ free(pathstr);
}
#ifdef ETHTOOL_GLINK