Settlement of mortgage as gratuitous act