Fix issues found by Coverity.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 6 May 2014 19:34:26 +0000 (21:34 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 6 May 2014 19:34:26 +0000 (21:34 +0200)
commite913f3f232e4809b7218d081ab9f94cef1c94ac3
treeef55a713f8cde907da87eb8511586203b5f4a527
parent8d64561dbc0542e7e1185591b8ecde3e56e1bfca
Fix issues found by Coverity.

Most of the problems found were resource leaks in error paths, some NULL
pointer dereferences that do not happen in practice, and a few other issues.
They have all been fixed now anyway.
src/avl_tree.c
src/graph.c
src/linux/device.c
src/multicast_device.c
src/net.c
src/net_setup.c
src/net_socket.c
src/pidfile.c
src/raw_socket_device.c
src/tincd.c