mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 22:28:08 +02:00
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:
parent
e1619f36bf
commit
b9e20bb7ba
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue