mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 10:08:06 +02:00
[region] Free rectangle if empty
Previously we just returned and did not free.
This commit is contained in:
parent
3f2e0b1b22
commit
fe46fb8803
1 changed files with 4 additions and 1 deletions
|
|
@ -98,7 +98,10 @@ merge_rectangle_with_sub_list (ply_region_t *region,
|
|||
{
|
||||
|
||||
if (ply_rectangle_is_empty (new_area))
|
||||
return;
|
||||
{
|
||||
free (new_area);
|
||||
return;
|
||||
}
|
||||
|
||||
while (node != NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue