renderer: fix eventfd check

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
macos/master
Marc-André Lureau 9 years ago committed by Dave Airlie
parent 51bf76036e
commit 1795f9ca2c
  1. 2
      src/vrend_renderer.c

@ -3736,7 +3736,7 @@ vrend_renderer_fini(void)
return;
vrend_free_sync_thread();
if (vrend_state.eventfd == -1) {
if (vrend_state.eventfd != -1) {
close(vrend_state.eventfd);
vrend_state.eventfd = -1;
}

Loading…
Cancel
Save