mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-02 00:40:17 +00:00
Trace fix
This commit is contained in:
parent
4f8ca9485a
commit
a1dba74346
1 changed files with 4 additions and 4 deletions
|
|
@ -1036,10 +1036,6 @@ static void parseOptions(int argc, char **argv) {
|
|||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_TRACE
|
||||
if(trace) fclose(trace);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* ********************************** */
|
||||
|
|
@ -4324,6 +4320,10 @@ int original_main(int argc, char **argv) {
|
|||
if(ndpi_info_mod) ndpi_exit_detection_module(ndpi_info_mod);
|
||||
if(csv_fp) fclose(csv_fp);
|
||||
ndpi_free(_debug_protocols);
|
||||
|
||||
#ifdef DEBUG_TRACE
|
||||
if(trace) fclose(trace);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue