Fix multicast device.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 5 Sep 2013 12:51:13 +0000 (14:51 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 5 Sep 2013 12:51:13 +0000 (14:51 +0200)
src/multicast_device.c

index 5eaf103495b20d3b84190a25479f03b92244da56..dbd832bf63419d82da7f39fcee842aeb338bb7a2 100644 (file)
@@ -136,8 +136,6 @@ static bool setup_device(void) {
                        goto error;
        }
 
-       freeaddrinfo(ai);
-
        logger(DEBUG_ALWAYS, LOG_INFO, "%s is a %s", device, device_info);
 
        return true;