xserver: Memset the right size

dev
Kristian Høgsberg 14 years ago
parent 4a431477ec
commit 535e2c65c7
  1. 2
      compositor/xserver-launcher.c

@ -564,7 +564,7 @@ wlsc_xserver_init(struct wlsc_compositor *compositor)
int fd; int fd;
mxs = malloc(sizeof *mxs); mxs = malloc(sizeof *mxs);
memset(mxs, 0, sizeof mxs); memset(mxs, 0, sizeof *mxs);
mxs->process.cleanup = wlsc_xserver_cleanup; mxs->process.cleanup = wlsc_xserver_cleanup;
mxs->wl_display = display; mxs->wl_display = display;

Loading…
Cancel
Save