The maintenance claim under section 125 cr.p.c. is applicable even after divorce between the couple.
If there is an amicable settlement of one time payment, then the same may be reduced to writing in the same affidavit with the details of payment and the court may be requested by a petition to draw the decree on the same lines with the details of the one time settlement amount.
This will ensure that she may be restrained from making any such claim in the future.