projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.37.tar.gz
[xscreensaver]
/
hacks
/
glx
/
timetunnel.c
diff --git
a/hacks/glx/timetunnel.c
b/hacks/glx/timetunnel.c
index 53d8dd97b9d145be1cc6a167a461aeaf1b1a0935..1dd5065ddc86f1a5d479defd90fbdca10daf3fc0 100644
(file)
--- a/
hacks/glx/timetunnel.c
+++ b/
hacks/glx/timetunnel.c
@@
-1031,14
+1031,7
@@
init_tunnel (ModeInfo *mi)
wire = 0;
# endif
wire = 0;
# endif
- if (!tconf) {
- tconf = (tunnel_configuration *)
- calloc (MI_NUM_SCREENS(mi), sizeof (tunnel_configuration));
- if (!tconf) {
- fprintf(stderr, "%s: out of memory\n", progname);
- exit(1);
- }
- }
+ MI_INIT (mi, tconf, NULL);
tc = &tconf[MI_SCREEN(mi)];
tc = &tconf[MI_SCREEN(mi)];