In order to better show my situation, I sometimes publish the offending source code. Also, I like to publish the fixed code once the problem is solved. I feel it's a way to thank the community for the help I have received. And I'm glad if someone else can benefit from the code.
However, I'm afraid that, once published, the source becomes automatically licensed under GNU. And so, my full program, which uses the published code, should theoretically be under that license too. Are my fears justified? Why or why not?