client: small leak fix

This commit is contained in:
Ray Strode 2011-03-26 01:02:49 -04:00
parent 7059c91c7a
commit a116eafc57

View file

@ -294,7 +294,10 @@ ply_boot_client_process_incoming_replies (ply_boot_client_t *client)
if (size > 0)
{
if (!ply_read (client->socket_fd, answer, size))
goto out;
{
free (answer);
goto out;
}
}
answer[size] = '\0';