In my university professors often allowpublish the solution right after the exam.
Then, they establish a "review day" in which only one-two students at a time are allowed to enter in theirthe professor's office to see the corrected exams in front of him/her. So the
In this way students can ask some questionquestions but not allowed to leave with the orginal sheets.
The clear drawback is the time consuming management of the "review day" but for sure you will not have that problem anymore and (from my personal point of view as student) students are more encouraged to ask questions about errors.