You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Potential memory leak in nsock_pcap.c line 114. Calling pcap_compile() without calling pcap_freecode() to free the memory will cause a memory leak. Doc says "pcap_freecode() is used to free up allocated memory pointed to by a bpf_program struct generated by pcap_compile(3PCAP) when that BPF program is no longer needed, for example after it has been made the filter program for a pcap structure by a call to pcap_setfilter(3PCAP)."
The text was updated successfully, but these errors were encountered:
Potential memory leak in nsock_pcap.c line 114. Calling pcap_compile() without calling pcap_freecode() to free the memory will cause a memory leak.
Doc says "pcap_freecode() is used to free up allocated memory pointed to by a bpf_program struct generated by pcap_compile(3PCAP) when that BPF program is no longer needed, for example after it has been made the filter program for a pcap structure by a call to pcap_setfilter(3PCAP)."
The text was updated successfully, but these errors were encountered: