[sr-dev] git:5.5:56d9073e: xhttp_pi: wrap freeing and setting to null in curly braces