Why would Hamas release Shalit for free? Shalit is a prisonner of war, he will be exchanged against Palestinina prisoners of war held by Israel. It's the same in all wars. What is shocking and a violation of the Law is Hamas' refusal to let ICRC visit him, but holding him prisoner as such is not, since he was a soldier.
Egypt to hold parliamentary election in 2 phases starting Oct 18-19 (Reuters)
from the article: Egypt pushing Hamas to soften stance on Shalit deal