This function appears to leak `lpStr`, no?