Gary and Fritz were friends. They corresponded, and even met on a few occasions. Fritz even played a few games of D&D in the early days. The two agreed on a Lankhmar setting for D&D fairly quickly. It was when Gary got booted from TSR than the company lost the lankhmar license. Because, in case you're wondering, it was a private agreement between two friends, not between Lieber and TSR.