diff --git a/libmachine/examples/vbox_create.go b/libmachine/examples/vbox_create.go index 9ae9f4b7de..d84aefe369 100644 --- a/libmachine/examples/vbox_create.go +++ b/libmachine/examples/vbox_create.go @@ -14,6 +14,7 @@ func main() { log.SetDebug(true) client := libmachine.NewClient("/tmp/automatic", "/tmp/automatic/certs") + defer client.Close() hostName := "myfunhost"