The Court of Appeal here today set aside the decision of the Kota Bharu High Court which ordered a former soldier to be compensated RM300,000 in damages as a result of being detained in a lock-up by the Malaysian Armed Forces for 311 days, from August 2014 until July 2015.