clients: Use wl_display_disconnect()

Kristian Høgsberg 13 years ago
parent 90fbbd74cc
commit fcfc83f6ae
  1. 2
      clients/simple-egl.c
  2. 2
      clients/simple-shm.c
  3. 2
      clients/window.c

@ -382,7 +382,7 @@ main(int argc, char **argv)
wl_compositor_destroy(display.compositor);
wl_display_flush(display.display);
wl_display_destroy(display.display);
wl_display_disconnect(display.display);
return 0;
}

@ -236,7 +236,7 @@ destroy_display(struct display *display)
wl_compositor_destroy(display->compositor);
wl_display_flush(display->display);
wl_display_destroy(display->display);
wl_display_disconnect(display->display);
free(display);
}

@ -3069,7 +3069,7 @@ display_destroy(struct display *display)
close(display->epoll_fd);
wl_display_flush(display->display);
wl_display_destroy(display->display);
wl_display_disconnect(display->display);
free(display);
}

Loading…
Cancel
Save