Merge pull request #413 from xuzhenbao/fix_RSA_use_after_free