diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2010-08-23 16:04:03 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-09-10 11:44:12 -0700 |
commit | 9ef6241c2382bfc555284a4985f6d1e37d750d6f (patch) | |
tree | de82944cfd03ea6f0a71f98b37adc776ed524dd5 /dix/property.c | |
parent | 79ee78de9de49d0cab03401662baa476a18e53b8 (diff) |
Fix property and selection devPrivate allocation.
Selection objects were not being allocated with privates, and both
objects had a stray statement that zeroed out the devPrivates field.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Reported-by: Justin Mattock <justinmattock@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dix/property.c')
-rw-r--r-- | dix/property.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/dix/property.c b/dix/property.c index 87e5c2d18..1d4332a58 100644 --- a/dix/property.c +++ b/dix/property.c @@ -284,7 +284,6 @@ dixChangeWindowProperty(ClientPtr pClient, WindowPtr pWin, Atom property, pProp->format = format; pProp->data = data; pProp->size = len; - pProp->devPrivates = NULL; rc = XaceHookPropertyAccess(pClient, pWin, &pProp, DixCreateAccess|DixWriteAccess); if (rc != Success) { |