mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-24 02:46:36 +01:00
Fix another file descriptor leak
This commit is contained in:
parent
58080b5964
commit
3b6074b907
@ -3335,6 +3335,8 @@ void produce_dpi_dump_for_pcap_dump(std::string pcap_file_path, std::stringstrea
|
||||
ndpi_free_flow(flow);
|
||||
free(dst);
|
||||
free(src);
|
||||
|
||||
close(filedesc);
|
||||
|
||||
total_packets_number++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user