udev: net_setup - fix warning
shared: path-util - memory leak
shared: strv - add strv_clear()

This frees the elements of the strv without freeing the strv itself.