Contributor Agreement
Before any code contribution can be incorporated into Launchpad, the developer must send in a Contributor Agreement: an email form that gives Canonical the legal rights it needs to incorporate and deploy the new code. Naturally, the contributor retains full rights to re-use, distribute, and continue modifying the contributed code.
The process is extremely easy, and you only have to do it once. The Contributor Agreement page explains it in more detail.