mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-06 06:10:11 +01:00
RRDestroyOutputProperty: Free randr property valid values
These were leaked when the property was destroyed. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
d3a84906c0
commit
2df10a4986
1 changed files with 2 additions and 0 deletions
|
|
@ -126,6 +126,8 @@ RRDestroyOutputProperty (RRPropertyPtr prop)
|
|||
xfree(prop->current.data);
|
||||
if (prop->pending.data)
|
||||
xfree(prop->pending.data);
|
||||
if (prop->valid_values)
|
||||
xfree(prop->valid_values);
|
||||
xfree(prop);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue