Fix free() on uninitialized data on some cases.
Fix free() on uninitialized data on some cases.

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