Fix leak in ply-boot-server

This commit fixes a memory leak
in an error path of ply_boot_connection_read_request.
This commit is contained in:
Ray Strode 2009-02-24 13:37:02 -05:00
parent e1619f36bf
commit b9e20bb7ba

View file

@ -204,6 +204,7 @@ ply_boot_connection_read_request (ply_boot_connection_t *connection,
if (!ply_read (connection->fd, *argument, argument_size))
{
free (*argument);
free (*command);
return false;
}