It's not right, it's not allowed in Islam to treat prisoners inhumanely, the companions of the prophet pbuh would give the bread to the prisoners and eat the dates themselves, if he did something worthy of death they could have had him shot dead in the same way by firing squad in front of all the relatives of those he shot dead, otherwise Prisoners are treated humanely in Islam, and not abused like the despotic u.s government did to the victims of Abu ghraib. As Muslims it's important to keep that standard.
وَيُطعِمونَ الطَّعامَ عَلىٰ حُبِّهِ مِسكينًا وَيَتيمًا وَأَسيرًا
And they feed, for the love of Allah, the indigent, the orphan, and the captive,-
إِنَّما نُطعِمُكُم لِوَجهِ اللَّهِ لا نُريدُ مِنكُم جَزاءً وَلا شُكورًا
(Saying),\"We feed you for the sake of Allah alone: no reward do we desire from you, nor thanks.
Quran 76:8-9