Free remaining pollers before exiting

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
diff --git a/console-server.c b/console-server.c
index 3defd65..e0b4249 100644
--- a/console-server.c
+++ b/console-server.c
@@ -428,7 +428,7 @@
 int main(int argc, char **argv)
 {
 	struct console *console;
-	int rc;
+	int rc, i;
 
 	console = malloc(sizeof(struct console));
 	memset(console, 0, sizeof(*console));
@@ -494,6 +494,8 @@
 	handlers_fini(console);
 
 out_free:
+	free(console->pollers);
+	free(console->pollfds);
 	free(console->tty_sysfs_devnode);
 	free(console->tty_dev);
 	free(console);