summaryrefslogtreecommitdiff
path: root/randr/rrmode.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-07-09 19:12:42 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-07-09 19:58:29 -0700
commit2e739a8870d91fbac7f536ffa8f6d2cee0f66cec (patch)
tree2c428325bb9bc936060f5713b4c7ced14dc2dc0d /randr/rrmode.c
parent15bc13c8d088e05f14c7262348e0066929c29251 (diff)
ProcRRListOutputProperties: skip atom walk if the list is empty
pAtoms is only allocated if numProps was non-zero, so move the walk through the property list to copy atoms to it inside the if (numProps) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Keith Packard <keithp@keithp.com> Tested-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'randr/rrmode.c')
0 files changed, 0 insertions, 0 deletions