commit | eee92519f38e937f227bea7701ddb1157c8bcccc | [log] [tgz] |
---|---|---|
author | Bill Fenner <fenner@gmail.com> | Tue Jul 15 07:27:18 2014 -0700 |
committer | Bill Fenner <fenner@gmail.com> | Tue Jul 15 07:27:18 2014 -0700 |
tree | 5e34ac0fc9b4bff4af814e754e41f94469e62187 | |
parent | 146fa384d8b05e1e5a2c67f88d0eca0a304fa1f0 [diff] |
Close pipes when freeing config and kill child process on error When freeing the config, close the pipes corresponding to that config, so they don't get leaked. Also, if we have an error, send a SIGKILL to the child process in case it is blocked and won't die just because we closed the pipes to it.