Free/open source software is not a gift, even an MIT license does not give you total freedom to do whatever you want.
To make a pure gift of code to the world, you would have to put it in the public domain (and even then there are odd legal issues in some jurisdictions).