[sr-dev] git:master:37580a25: xhttp_pi: wrap freeing and setting to null in curly braces