fix potential memory leak for logger
fix potential memory leak for logger

bssrdf/ardb,wfxiang08/ardb,cloudrain21/ardb,lsm/ardb,spitfire2/ardb,bssrdf/ardb,tempbottle/ardb,placrosse/ardb,lsm/ardb,spitfire2/ardb,wfxiang08/ardb,yinqiwen/ardb,tempbottle/ardb,yinqiwen/ardb,placrosse/ardb,cloudrain21/ardb