Free sockets in cleanup function [CID-101]
This commit is contained in:
@@ -99,6 +99,7 @@ cleanup(int nsockets, struct x_socket *sockets)
|
||||
free (sockets[i].pathname);
|
||||
}
|
||||
}
|
||||
free(sockets);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user