memory and log fixes merged from coturn



git-svn-id: http://rfc5766-turn-server.googlecode.com/svn/branches/v3.2@1888 d3c6d0af-6456-5cbd-3218-6188ca4e956b
cleaning



git-svn-id: http://rfc5766-turn-server.googlecode.com/svn/branches/v3.2@1889 d3c6d0af-6456-5cbd-3218-6188ca4e956b