Skip to content
  • Dan Williams's avatar
    core: fix memory leak · ef151c3f
    Dan Williams authored
    get_virtual_iface_name() returns an allocated interface name which
    we must free; that wasn't being done when attempting to find the
    interface for which a virtual interface needs to be created.  Also
    throw in a cleanup for the given-device-doesn't-exist case just to
    make it clearer when the interface name is freed.
    ef151c3f