cisco / joy

A package for capturing and analyzing network flow data and intraflow data, for network research, forensics, and security monitoring.
Other
1.31k stars 329 forks source link

Resolving CodeSafe warnings for ticket #267 and #268 #269

Closed hdbui closed 5 years ago

bhudson33 commented 5 years ago

shouldn't we close the file prior to the "exit" calls as well in config.c? The program is terminating, so the filesystem will eventually close the file handle, but we should clean up ourselves as well.

hdbui commented 5 years ago

shouldn't we close the file prior to the "exit" calls as well in config.c? The program is terminating, so the filesystem will eventually close the file handle, but we should clean up ourselves as well.

Good catch. I was just looking for return() didn't notice we called exit()