A police chief says a Texas Tech University student accused of killing a campus police officer was searched at some point but still managed to pull a gun while being booked on a drug charge at the campus police station.