diff options
-rw-r--r-- | randr/rrproperty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/randr/rrproperty.c b/randr/rrproperty.c index 5d4c86565..a47f30671 100644 --- a/randr/rrproperty.c +++ b/randr/rrproperty.c @@ -68,9 +68,10 @@ RRCreateOutputProperty (Atom property) { RRPropertyPtr prop; - prop = (RRPropertyPtr)xalloc(sizeof(PropertyRec)); + prop = (RRPropertyPtr)xalloc(sizeof(RRPropertyRec)); if (!prop) return NULL; + prop->next = NULL; prop->propertyName = property; prop->is_pending = FALSE; prop->range = FALSE; |