Answer (B) is correct.
Legal fees incurred in the successful defense of a patent should be
capitalized as part of the cost of the patent and then amortized over its
remaining useful life because that useful life is finite. Legal fees incurred
in an unsuccessful defense should be expensed as the costs are incurred.