Somebody Knew Her, by Laurence M. Janifer (writing as Barry Miles) (epub/Kindle/pdf)
Detective Sergeant Carmoody has gotten complaints about a peeping tom from a woman named Miss Morgan. Carmoody put her beachfront motel under surveillance, but while he was taking a meal break, someone broke into the motel, and murdered her.