From bebd244e33cbd865f5a6b61794e47926e14b6cbb Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Sun, 7 May 2023 21:58:19 -0700 Subject: [PATCH] docker: fix connection leak on features check Signed-off-by: Tonis Tiigi --- driver/docker/driver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/driver/docker/driver.go b/driver/docker/driver.go index 5b66c588..797b1e9a 100644 --- a/driver/docker/driver.go +++ b/driver/docker/driver.go @@ -69,6 +69,7 @@ func (d *Driver) Features() map[driver.Feature]bool { useContainerdSnapshotter = true } } + c.Close() } return map[driver.Feature]bool{ driver.OCIExporter: useContainerdSnapshotter,