summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-13 17:40:24 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-15 14:38:11 -0700
commita89b1ad3377bfef9bab52f15f98b00f6540d531a (patch)
tree4ecb11aa7506373f86a5298dae5f67439cb7f49d /COPYING
parentef95f1c3737d9efc7d97fb1784f80ef3540a846b (diff)
Improve error handling in XF86VidModeGetMonitor()
Ensure that when we return an error we unlock the display first, and NULL out any pointers we freed in error cleanup. Instead of adding these fixes to every error check, instead combine the error handling cleanup into a single copy. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions