Investigators say an officer who "discovered" contraband secretly planted it.