Free sockets in cleanup function [CID-101]

This commit is contained in:
Love Hornquist Astrand
2009-07-30 10:50:22 +02:00
parent 269fcc53e7
commit 879051c308

View File

@@ -99,6 +99,7 @@ cleanup(int nsockets, struct x_socket *sockets)
free (sockets[i].pathname); free (sockets[i].pathname);
} }
} }
free(sockets);
} }
/* /*