diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-04-13 17:40:24 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-04-15 14:38:11 -0700 |
commit | a89b1ad3377bfef9bab52f15f98b00f6540d531a (patch) | |
tree | 4ecb11aa7506373f86a5298dae5f67439cb7f49d /xxf86vm.pc.in | |
parent | ef95f1c3737d9efc7d97fb1784f80ef3540a846b (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 'xxf86vm.pc.in')
0 files changed, 0 insertions, 0 deletions