remote: fix memory leak on host removal
authorDavid Bauer <mail@david-bauer.net>
Sun, 5 Sep 2021 16:05:49 +0000 (18:05 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 21 Sep 2021 17:48:16 +0000 (19:48 +0200)
commitfc1fadf5eb7684db952e72558f26dffbf3c4dfda
treed8b52db7df7252738eed00aabc29c5ba62f6a542
parentbee7c7e0dfdf741010258e3dbd6fe1521efec326
remote: fix memory leak on host removal

The host address is allocated on the heap, hence it has to be freed when
freeing the containing struct.

Signed-off-by: David Bauer <mail@david-bauer.net>
remote.c