Unfortunately these occasional lapses are an inevitable consequence of the requirement for congressional oversight of intelligence operations. In most cases it gets dealt with, albeit clumsily, behind the scenes, but many politicians seem to be complete amateurs when it comes to understanding the reasons and mechanisms for protecting classified matter. When they are hot on the scent of an election victory I don't think it is uppermost in their minds.
Of course it's not nearly as bad as the Obama's Admins intentional release of classified information to puff him up and make him look tough.
I'm not sure to what you refer, and given how you phrased it I suspect there is not much point trying to discuss it, but bear in mind that it is within the President's executive authority to declassify as he sees fit.
But, if you are talking about information released after the bin Laden operation, then it did not happen at all, since not only was the information not classified, but it was determined by the DOD not even to be sensitive. Those are terms with specific meanings, just in case you are not aware of that. They do not mean information that someone, somewhere, does not think should be shared.