Fix various memory management issues
authorMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 21 Jun 2016 15:19:10 +0000 (17:19 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sun, 26 Jun 2016 10:53:51 +0000 (12:53 +0200)
Consistently handle allocation failures. Some functions are changed to
return bool or int instead of void to allow returning an error.

Also fix a buffer size miscalculation in lua/uloop and use _exit() instead
of exit() on errors after forking.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

No differences found