]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/unit/test-qga.c
Merge tag 'pull-request-2022-09-20' of https://gitlab.com/thuth/qemu into staging
[mirror_qemu.git] / tests / unit / test-qga.c
index 099d78909243771e25bdda20438cc1950b77a0e9..b6ea7c7304c3af8498d186b6b8890afacc9297cd 100644 (file)
@@ -32,6 +32,7 @@ static int connect_qga(char *path)
             g_usleep(G_USEC_PER_SEC);
         }
         if (i++ == 10) {
+            close(s);
             return -1;
         }
     } while (ret == -1);