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
|
@ -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…
Reference in New Issue