diff options
author | Kevin Brace <kevinbrace@gmx.com> | 2020-02-13 12:02:02 -0800 |
---|---|---|
committer | Kevin Brace <kevinbrace@gmx.com> | 2020-02-13 12:02:02 -0800 |
commit | 54c0d160b813539a8dc0e9798dc32610b1572b22 (patch) | |
tree | bed0065fc0a27c938bfbce2535ca6e73a0d349da /src | |
parent | afc59f3c8c0563f20c9a969f2d71ec21a597d548 (diff) |
Change error handling code for VIADRIKernelInit() inside viaUMSCreate()
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/via_ums.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/via_ums.c b/src/via_ums.c index c646796..76d4f84 100644 --- a/src/via_ums.c +++ b/src/via_ums.c @@ -699,7 +699,8 @@ viaUMSCreate(ScrnInfoPtr pScrn) #ifdef HAVE_DRI if (pVia->directRenderingType == DRI_1) { if (!VIADRIKernelInit(pScrn)) { - return FALSE; + ret = FALSE; + goto exit; } } else #endif |