IANAL either, but I still think he'd be free to use his original code in a commercial product. By releasing under GPL, you give
others a limited license to redistribute and modify the software subject to some conditions, but
you keep all your rights, and
you are free to distribute proprietary versions of the code.
See https://www.gnu.org/licenses/gpl-faq.html#ReleaseUnderGPLAnd...