mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-14 16:12:10 +00:00
Fix mismatched free and strcpy overlap
This commit is contained in:
parent
e0d6c1ee98
commit
94040cc0d9
3 changed files with 11 additions and 7 deletions
|
|
@ -734,9 +734,9 @@ void NetworkInterface::deleteDataStructures() {
|
|||
if(ebpfEvents) {
|
||||
for(u_int16_t i=0; i<EBPF_QUEUE_LEN; i++)
|
||||
if(ebpfEvents[i])
|
||||
delete ebpfEvents[i];
|
||||
free(ebpfEvents[i]);
|
||||
|
||||
delete ebpfEvents;
|
||||
free(ebpfEvents);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue