summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-09-17 18:14:38 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-20 20:45:25 +1000
commit2df10a49867635c341b1d1a9faadf4dbae043a0f (patch)
tree020d8608c8ff0d17b4a93f624feab0f42c3e6690 /randr
parentd3a84906c00b8fe4a4e33fa89bff3ed66ceafdec (diff)
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>
Diffstat (limited to 'randr')
-rw-r--r--randr/rrproperty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/randr/rrproperty.c b/randr/rrproperty.c
index 6187b855f..146facbe1 100644
--- a/randr/rrproperty.c
+++ b/randr/rrproperty.c
@@ -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);
}