Description of problem: The intf_free() function frees the "intf" pointer so we cannot dereference it again on the next line.