Merge branch 'wip/over-allocation-fix' into 'master'

boot-server: fix type confusion when allocating connection object

See merge request plymouth/plymouth!27
This commit is contained in:
Ray Strode 2019-02-18 15:24:24 +00:00
commit e3bb33dea7

View file

@ -161,7 +161,7 @@ ply_boot_connection_new (ply_boot_server_t *server,
{
ply_boot_connection_t *connection;
connection = calloc (1, sizeof(ply_boot_server_t));
connection = calloc (1, sizeof(ply_boot_connection_t));
connection->fd = fd;
connection->server = server;
connection->watch = NULL;