Added valgrind memory leak tests for backend. Fixed some minor leaks and file descriptor closes.

This commit is contained in:
Olof hagsand 2019-02-19 13:16:59 +01:00
parent add43d250d
commit 4c0b412e9f
34 changed files with 318 additions and 382 deletions

View file

@ -103,6 +103,7 @@ clicon_log_exit(void)
{
if (_logfile)
fclose(_logfile);
closelog(); /* optional */
return 0;
}