mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-09 02:28:19 +02:00
[client] Fix memleak in command argument
This commit is contained in:
parent
da214e6b7b
commit
7d9efa5357
1 changed files with 2 additions and 0 deletions
|
|
@ -224,6 +224,8 @@ ply_boot_client_request_free (ply_boot_client_request_t *request)
|
|||
if (request == NULL)
|
||||
return;
|
||||
free (request->command);
|
||||
if (request->argument != NULL)
|
||||
free (request->argument);
|
||||
free (request);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue