X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fhilbert.c;h=3caae97f6f8d0b89d25c7a67b85beb3a0c28e0ba;hp=fd0a1a2805e1937b7f5b9fd2ee9fe6c24f1b2fc7;hb=4361b69d3178d7fc98d0388f9a223af6c2651aba;hpb=d6b0217f2417bd19187f0ebc389d6c5c2233b11c diff --git a/hacks/glx/hilbert.c b/hacks/glx/hilbert.c index fd0a1a28..3caae97f 100644 --- a/hacks/glx/hilbert.c +++ b/hacks/glx/hilbert.c @@ -838,14 +838,7 @@ init_hilbert (ModeInfo *mi) int wire = MI_IS_WIREFRAME(mi); int i; - if (!bps) { - bps = (hilbert_configuration *) - calloc (MI_NUM_SCREENS(mi), sizeof (hilbert_configuration)); - if (!bps) { - fprintf(stderr, "%s: out of memory\n", progname); - exit(1); - } - } + MI_INIT (mi, bps, NULL); bp = &bps[MI_SCREEN(mi)];