X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fnoof.c;h=ab483f9ab6ce2ff237d3eae5bd7331106e1612e2;hp=a10d685ea5467e67f5d54db333476c29632521e8;hb=4361b69d3178d7fc98d0388f9a223af6c2651aba;hpb=d6b0217f2417bd19187f0ebc389d6c5c2233b11c diff --git a/hacks/glx/noof.c b/hacks/glx/noof.c index a10d685e..ab483f9a 100644 --- a/hacks/glx/noof.c +++ b/hacks/glx/noof.c @@ -444,14 +444,7 @@ init_noof (ModeInfo *mi) int i; noof_configuration *bp; - if (!bps) { - bps = (noof_configuration *) - calloc (MI_NUM_SCREENS(mi), sizeof (noof_configuration)); - if (!bps) { - fprintf(stderr, "%s: out of memory\n", progname); - exit(1); - } - } + MI_INIT (mi, bps, NULL); bp = &bps[MI_SCREEN(mi)];