Mimetype: fix leak if initialization fails

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
HTTP: validate return when sending headers on redirection

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Request: check status of cork_flag set

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Config: abort if SECTION config is not found

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Config: on config create, do not leak file handler

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Config: on config create, do not leak indent var

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Vhost: when find a docerror exception (config), do not leak host

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Config: fix mem leak on 'address' when using multiple listeners

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: on initialization error, release memory

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Config: on listener read, do not continue on loop

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Config: reset address of listener on setup

Signed-off-by: Eduardo Silva <eduardo@monkey.io>