]> the.earth.li Git - onak.git/commitdiff
Improve memory clean-up on exit
authorJonathan McDowell <noodles@earth.li>
Tue, 7 Jun 2016 10:37:37 +0000 (11:37 +0100)
committerJonathan McDowell <noodles@earth.li>
Tue, 7 Jun 2016 10:56:50 +0000 (11:56 +0100)
onak + wotsap were failing to free the memory allocated for the config
file name if it was passed on the command line, and the config structure
cleanups failed to free any configured sock_dir or the actual DB
backend config structure. All of this gets cleaned up by normal program
exit (which is when we do our clean-up anyway), but fix it anyway.


No differences found