agent: Fix leak in CockpitFakeManager when cancelled

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
agent: Fix leak in CockpitRestJson one per watch

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
daemon: Fix several leaks in machines code

Change to a better array for pointers and actually free the
array among other things.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
websocket: Fix a couple leaks in WebSocket code

Were leaking all headers for each initial socket request

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Fix leak of login password bytes

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Fix a couple leaks in CockpitHandlers code

Were leaking hostname and a struct for each login request

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Fix leak of per HTTP request structure

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Fix a couple of leaks in CockpitWebService code

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
Fix leaks in various unit tests

These let us get a clean bill of health on definite leaks

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
Add leak checking for definite leaks to 'make check-memory'

Closes #960

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>