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:
Keith Packard 2009-09-17 18:14:38 -07:00 committed by Peter Hutterer
parent d3a84906c0
commit 2df10a4986

View File

@ -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);
}