Fixed memory leak when in certificate chain.
Fixed memory leak when in certificate chain.

jjz/libetpan,jjz/libetpan,jjz/libetpan,disaykin/libetpan,tipbit/libetpan,disaykin/libetpan,tipbit/libetpan,tipbit/libetpan,disaykin/libetpan