summaryrefslogtreecommitdiff
path: root/src/XGetDCtl.c
diff options
context:
space:
mode:
authorPauli Nieminen <ext-pauli.nieminen@nokia.com>2010-06-14 10:16:22 +0300
committerPauli Nieminen <ext-pauli.nieminen@nokia.com>2010-07-13 11:26:13 +0300
commit9ca839742b49d49e98a17baa40c9662ee76c397f (patch)
treeebc914cf3afd4e37389d3bc2c50151e1ff768b54 /src/XGetDCtl.c
parentb953bf7b9775e5970776a21ae3f7919592289c92 (diff)
Use single error path in XQueryDeviceState
This reduces code duplication and fixes possible leak of data. data would leak if allocation of state fails. Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'src/XGetDCtl.c')
0 files changed, 0 insertions, 0 deletions