forked from enlightenment/efl
evas sw-x11 - fix pointless code in dri swapper
this fixes CID 1039620 - it pointed out a pointless null check.
This commit is contained in:
parent
1294a91201
commit
03f7ff5f27
|
@ -557,7 +557,7 @@ _drm_init(Display *disp, int scr)
|
|||
goto err;
|
||||
}
|
||||
if (drv_name) XFree(drv_name);
|
||||
if (dev_name) XFree(dev_name);
|
||||
XFree(dev_name);
|
||||
return EINA_TRUE;
|
||||
err:
|
||||
if (drm_fd >= 0)
|
||||
|
|
Loading…
Reference in New Issue