--- ray/src/hd/sm_list.c 1998/08/19 17:45:24 3.1 +++ ray/src/hd/sm_list.c 1998/09/16 18:16:28 3.3 @@ -24,8 +24,6 @@ LIST { LIST *l; - - /* check free list for available edges */ if( free_lists ) { @@ -52,9 +50,6 @@ LIST *a,*b; { LIST * l; - if(!a) - return(b); - if(!b) return(a); @@ -118,6 +113,7 @@ LIST * l; { if(!l) return(NULL); + free_lists = append_list(free_lists,l); return(NULL); @@ -131,7 +127,7 @@ pop_list(l) LIST **l; { LIST *p; - void *d; + int d; if(!l) return(NULL);