Don't close standard output twice, that leads to a segfault!

This commit is contained in:
Jordan Bancino 2023-03-22 00:12:04 +00:00
parent 2a92d0de7e
commit 63d07365db

View file

@ -217,7 +217,6 @@ main(int argc, char **argv)
} }
UtilStreamCopy(HttpClientStream(cx), StreamStdout()); UtilStreamCopy(HttpClientStream(cx), StreamStdout());
StreamClose(StreamStdout());
HttpClientContextFree(cx); HttpClientContextFree(cx);
UriFree(uri); UriFree(uri);