pki_crypto: Fix memory leak with EC_KEY_set_public_key().
pki_crypto: Fix memory leak with EC_KEY_set_public_key().

BUG: https://red.libssh.org/issues/146

taikoo/libssh,DouglasHeriot/libssh,mwgoldsmith/ssh,sebadoom/libssh,DouglasHeriot/libssh,nviennot/libssh,pouete/libssh,nviennot/libssh,Distrotech/libssh,mwgoldsmith/ssh,elastichosts/libssh,kedazo/libssh,mwgoldsmith/ssh,taikoo/libssh,mwgoldsmith/libssh,taikoo/libssh,robxu9/libssh,Distrotech/libssh,Distrotech/libssh,elastichosts/libssh,mwgoldsmith/libssh,mwgoldsmith/libssh,wangshawn/libssh,pouete/libssh,robxu9/libssh,nviennot/libssh,wangshawn/libssh,robxu9/libssh,pouete/libssh,kedazo/libssh,wangshawn/libssh,robxu9/libssh,Distrotech/libssh,pouete/libssh,DouglasHeriot/libssh,kedazo/libssh,taikoo/libssh,mwgoldsmith/ssh,sebadoom/libssh,nviennot/libssh,sebadoom/libssh,wangshawn/libssh,sebadoom/libssh,DouglasHeriot/libssh,mwgoldsmith/libssh,kedazo/libssh,elastichosts/libssh