minor memory fixes



git-svn-id: http://rfc5766-turn-server.googlecode.com/svn/trunk@1431 d3c6d0af-6456-5cbd-3218-6188ca4e956b