An inheritance problem?

During his second marriage, Mr. Lin bought a house with his personal property and lived with Ms. Zhang.

Article 17 of the Marriage Law stipulates that the property acquired by the husband and wife during the marriage relationship belongs to the husband and wife, and the husband and wife have equal rights to dispose of all the property owned by the husband and wife.

According to Article 26 of the Inheritance Law, after Mr. Lin's death (no more children during the marriage), the house shall be owned by Ms. Zhang and Mr. Lin's children before the property division.