X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Funknownpleasures.c;h=eac67f44ae74c5c6f828fc097b3fc10936eb89ca;hp=236fd8e6bd5ddcd57694a52731409c4f4a1c32e1;hb=4361b69d3178d7fc98d0388f9a223af6c2651aba;hpb=d6b0217f2417bd19187f0ebc389d6c5c2233b11c diff --git a/hacks/glx/unknownpleasures.c b/hacks/glx/unknownpleasures.c index 236fd8e6..eac67f44 100644 --- a/hacks/glx/unknownpleasures.c +++ b/hacks/glx/unknownpleasures.c @@ -175,14 +175,7 @@ init_unk (ModeInfo *mi) { unk_configuration *bp; - if (!bps) { - bps = (unk_configuration *) - calloc (MI_NUM_SCREENS(mi), sizeof (unk_configuration)); - if (!bps) { - fprintf(stderr, "%s: out of memory\n", progname); - exit(1); - } - } + MI_INIT (mi, bps, NULL); bp = &bps[MI_SCREEN(mi)];