Fix use-after-free when socket is closed in a callback handler
Fix use-after-free when socket is closed in a callback handler

kedazo/libssh,wangshawn/libssh,kedazo/libssh,miloj/libssh-v0.5,wangshawn/libssh,jt1/honeypot-libssh,pouete/libssh,mwgoldsmith/ssh,DouglasHeriot/libssh,elastichosts/libssh,mwgoldsmith/ssh,kedazo/libssh,robxu9/libssh,jahrome/libssh,elastichosts/libssh,substack/libssh,taikoo/libssh,elastichosts/libssh,substack/libssh,robxu9/libssh,nviennot/libssh,bigcat26/libssh-mod,taikoo/libssh,mwgoldsmith/libssh,pouete/libssh,Distrotech/libssh,rofl0r/libssh,bigcat26/libssh-mod,mwgoldsmith/libssh,DouglasHeriot/libssh,nviennot/libssh,DouglasHeriot/libssh,kedazo/libssh,rofl0r/libssh,robxu9/libssh,taikoo/libssh,wangshawn/libssh,mwgoldsmith/ssh,Distrotech/libssh,robxu9/libssh,mwgoldsmith/libssh,bigcat26/libssh-mod,miloj/libssh-v0.5,mwgoldsmith/ssh,Distrotech/libssh,jt1/honeypot-libssh,pouete/libssh,jahrome/libssh,jt1/honeypot-libssh,substack/libssh,rofl0r/libssh,jahrome/libssh,sebadoom/libssh,rofl0r/libssh,pouete/libssh,jt1/honeypot-libssh,nviennot/libssh,bigcat26/libssh-mod,nviennot/libssh,miloj/libssh-v0.5,jahrome/libssh,sebadoom/libssh,mwgoldsmith/libssh,miloj/libssh-v0.5,DouglasHeriot/libssh,sebadoom/libssh,taikoo/libssh,Distrotech/libssh,substack/libssh,wangshawn/libssh,sebadoom/libssh