The general rule is ex-nudopacto non oritur actio i.e. an agreement made without consideration is void.

External Document