This commit changes the `list_t` api so that alloc errors can be
detected and worked around. Also fixes errors not found in 
						
					
				
			 | 
			||
|---|---|---|
| .. | ||
| list.c | ||
| log.c | ||
| meson.build | ||
				
					
						
							This commit changes the `list_t` api so that alloc errors can be
detected and worked around. Also fixes errors not found in 
						
					
				
			 | 
			||
|---|---|---|
| .. | ||
| list.c | ||
| log.c | ||
| meson.build | ||