pipe_loader_sw: Don't invoke Unix close() on Windows.

Trivial.
This commit is contained in:
Jose Fonseca
2016-09-23 12:55:18 +01:00
parent ebffa7b6af
commit c6d17701c8
@@ -277,8 +277,10 @@ pipe_loader_sw_release(struct pipe_loader_device **dev)
util_dl_close(sdev->lib);
#endif
#ifdef HAVE_PIPE_LOADER_KMS
if (sdev->fd != -1)
close(sdev->fd);
#endif
FREE(sdev);
*dev = NULL;