Fixed GPG segfault, hopefully
I've noticed segfault when trying to sign a message with GPG. That's strange, because I remember signing working just fine back in June.
I'm not sure if this fix is acceptable, if it doesn't introduce memory leak, I'm not very adept with G* stuff :/