usdf_getinfo: only free addrinfo if actually allocated

Signed-off-by: Reese Faucette <rfaucett@cisco.com>

I doubt this fixes #270, but it is certainly incorrect.  plus fixup an indent.