How marriage after death threatens inheritance

If your partner re-marries, everything you leave to them will become jointly owned with their new spouse. Have you considered what would happen if that new marriage breaks up? Or what if the marriage lasts and the new partner outlives your spouse?