diff options
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 542b11ab4..da64bdb21 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1521,6 +1521,8 @@ static void setupDetection(u_int16_t thread_id, pcap_t * pcap_handle) { ndpi_enable_loaded_categories(ndpi_thread_info[thread_id].workflow->ndpi_struct); } else printf("ERROR: Unable to read file %s\n", _customCategoryFilePath); + + fclose(fd); } } |