The DOJ has bigger crimes and fish to fry.
If Comey were to be prosecuted for leaking, which many lawmakers and prosecutors have done, this would take up time and money, and it is not worth the expense, especially when he has committed far more serious crimes. Others who have leaked stories, even though classified, were not prosecuted, so perhaps precedents have been set.