There is no privity of contract in such case between the lessor and the assignee. ( Farber v. Greenberg, 98 Cal.App. 675 [ 277 P. 534].) The assignee is only liable for the rental or royalty during such time as he remained in possession of the property and received the benefits thereof.