net/ipv4: Eliminate kstrdup memory leak