Fixed possible memory leak in lowercase function.
Fixed possible memory leak in lowercase function.

If user passed NULL pointer to lowercase() function, duplicated
string "new" wasn't freed before return.

Signed-off-by: Dmitry V. Krivenok <d59d7cd67ae8c843497ee2f114012cd05a3c5f7a@orangesystem.ru>
Signed-off-by: Andreas Schneider <1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@cynapses.org>

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