fix mem leak, and a compiler warning.
fix mem leak, and a compiler warning.

cosmoharrigan/atomspace,andre-senna/opencog,sumitsourabh/opencog,ceefour/opencog,sumitsourabh/opencog,inflector/opencog,ArvinPan/opencog,anitzkin/opencog,shujingke/opencog,zhaozengguang/opencog,rTreutlein/atomspace,zhaozengguang/opencog,gavrieltal/opencog,ruiting/opencog,prateeksaxena2809/opencog,jlegendary/opencog,cosmoharrigan/opencog,shujingke/opencog,printedheart/atomspace,sumitsourabh/opencog,cosmoharrigan/opencog,yantrabuddhi/atomspace,iAMr00t/opencog,Selameab/opencog,shujingke/opencog,yantrabuddhi/atomspace,virneo/opencog,sumitsourabh/opencog,kim135797531/opencog,MarcosPividori/atomspace,ruiting/opencog,sumitsourabh/opencog,ceefour/opencog,TheNameIsNigel/opencog,rTreutlein/atomspace,virneo/opencog,sumitsourabh/opencog,roselleebarle04/opencog,roselleebarle04/opencog,gavrieltal/opencog,kim135797531/opencog,virneo/atomspace,misgeatgit/atomspace,misgeatgit/opencog,ArvinPan/atomspace,virneo/opencog,printedheart/opencog,sanuj/opencog,rohit12/opencog,rodsol/opencog,AmeBel/opencog,rohit12/opencog,prateeksaxena2809/opencog,TheNameIsNigel/opencog,iAMr00t/opencog,yantrabuddhi/atomspace,Selameab/opencog,ceefour/atomspace,eddiemonroe/atomspace,andre-senna/opencog,jlegendary/opencog,eddiemonroe/opencog,yantrabuddhi/opencog,virneo/atomspace,sanuj/opencog,kinoc/opencog,roselleebarle04/opencog,shujingke/opencog,yantrabuddhi/opencog,tim777z/opencog,ceefour/opencog,misgeatgit/atomspace,virneo/opencog,MarcosPividori/atomspace,eddiemonroe/opencog,cosmoharrigan/opencog,yantrabuddhi/opencog,Allend575/opencog,gavrieltal/opencog,ceefour/opencog,ArvinPan/atomspace,misgeatgit/atomspace,misgeatgit/opencog,ruiting/opencog,cosmoharrigan/atomspace,kim135797531/opencog,Tiggels/opencog,virneo/opencog,misgeatgit/atomspace,inflector/opencog,Selameab/opencog,cosmoharrigan/opencog,Selameab/atomspace,zhaozengguang/opencog,Allend575/opencog,prateeksaxena2809/opencog,rodsol/opencog,ceefour/opencog,AmeBel/atomspace,williampma/atomspace,ceefour/atomspace,UIKit0/atomspace,gaapt/opencog,inflector/atomspace,eddiemonroe/opencog,ceefour/opencog,AmeBel/opencog,rohit12/atomspace,virneo/atomspace,gavrieltal/opencog,rodsol/opencog,AmeBel/opencog,TheNameIsNigel/opencog,rohit12/opencog,iAMr00t/opencog,rTreutlein/atomspace,jlegendary/opencog,prateeksaxena2809/opencog,rTreutlein/atomspace,misgeatgit/opencog,printedheart/opencog,printedheart/opencog,ceefour/opencog,anitzkin/opencog,kinoc/opencog,Tiggels/opencog,TheNameIsNigel/opencog,zhaozengguang/opencog,anitzkin/opencog,andre-senna/opencog,tim777z/opencog,rohit12/atomspace,gaapt/opencog,anitzkin/opencog,kinoc/opencog,kim135797531/opencog,kinoc/opencog,jlegendary/opencog,rohit12/opencog,Selameab/atomspace,andre-senna/opencog,roselleebarle04/opencog,Selameab/atomspace,andre-senna/opencog,kim135797531/opencog,printedheart/atomspace,rodsol/opencog,ArvinPan/opencog,rohit12/opencog,gavrieltal/opencog,inflector/opencog,rodsol/opencog,inflector/atomspace,misgeatgit/opencog,williampma/atomspace,Tiggels/opencog,zhaozengguang/opencog,kinoc/opencog,inflector/opencog,gaapt/opencog,kinoc/opencog,iAMr00t/opencog,cosmoharrigan/opencog,AmeBel/atomspace,AmeBel/opencog,ruiting/opencog,printedheart/atomspace,anitzkin/opencog,zhaozengguang/opencog,anitzkin/opencog,Allend575/opencog,rTreutlein/atomspace,kim135797531/opencog,eddiemonroe/atomspace,MarcosPividori/atomspace,misgeatgit/opencog,tim777z/opencog,rodsol/opencog,jlegendary/opencog,ruiting/opencog,jswiergo/atomspace,virneo/opencog,misgeatgit/opencog,ruiting/opencog,inflector/atomspace,virneo/opencog,eddiemonroe/opencog,misgeatgit/opencog,williampma/atomspace,inflector/atomspace,inflector/opencog,ArvinPan/opencog,UIKit0/atomspace,yantrabuddhi/opencog,yantrabuddhi/atomspace,Allend575/opencog,Allend575/opencog,ArvinPan/atomspace,roselleebarle04/opencog,rodsol/atomspace,Selameab/opencog,eddiemonroe/atomspace,ceefour/atomspace,TheNameIsNigel/opencog,Selameab/opencog,cosmoharrigan/atomspace,williampma/opencog,misgeatgit/opencog,printedheart/atomspace,shujingke/opencog,williampma/opencog,Tiggels/opencog,misgeatgit/opencog,jswiergo/atomspace,AmeBel/opencog,eddiemonroe/opencog,anitzkin/opencog,iAMr00t/opencog,kinoc/opencog,prateeksaxena2809/opencog,UIKit0/atomspace,printedheart/opencog,andre-senna/opencog,tim777z/opencog,Tiggels/opencog,AmeBel/atomspace,jlegendary/opencog,tim777z/opencog,sanuj/opencog,Selameab/atomspace,ruiting/opencog,printedheart/opencog,williampma/atomspace,gaapt/opencog,rodsol/atomspace,Allend575/opencog,yantrabuddhi/atomspace,williampma/opencog,jswiergo/atomspace,UIKit0/atomspace,roselleebarle04/opencog,eddiemonroe/atomspace,inflector/opencog,shujingke/opencog,AmeBel/atomspace,shujingke/opencog,virneo/atomspace,rohit12/atomspace,Allend575/opencog,gavrieltal/opencog,roselleebarle04/opencog,iAMr00t/opencog,prateeksaxena2809/opencog,williampma/opencog,AmeBel/opencog,jswiergo/atomspace,eddiemonroe/opencog,yantrabuddhi/opencog,rodsol/atomspace,ArvinPan/opencog,inflector/atomspace,Selameab/opencog,jlegendary/opencog,printedheart/opencog,eddiemonroe/opencog,ArvinPan/opencog,eddiemonroe/atomspace,tim777z/opencog,misgeatgit/atomspace,gaapt/opencog,cosmoharrigan/atomspace,ArvinPan/atomspace,sanuj/opencog,prateeksaxena2809/opencog,gavrieltal/opencog,rohit12/opencog,ceefour/atomspace,cosmoharrigan/opencog,Tiggels/opencog,MarcosPividori/atomspace,andre-senna/opencog,sanuj/opencog,AmeBel/opencog,gaapt/opencog,yantrabuddhi/opencog,ArvinPan/opencog,sanuj/opencog,inflector/opencog,rodsol/atomspace,kim135797531/opencog,sumitsourabh/opencog,AmeBel/atomspace,rohit12/atomspace,williampma/opencog,inflector/opencog,TheNameIsNigel/opencog,williampma/opencog,gaapt/opencog,yantrabuddhi/opencog