darkroom: fix address sanitizer complaint.