We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b6f509 commit 606f0afCopy full SHA for 606f0af
src/main/java/net/snowflake/client/core/StmtUtil.java
@@ -368,7 +368,6 @@ public static StmtOutput execute(
368
execTimeData.setGzipStart();
369
// SNOW-18057: compress the post body in gzip
370
ByteArrayOutputStream baos = new ByteArrayOutputStream();
371
- //SNOW-2266612 fix the memory leak
372
try (GZIPOutputStream gzos = new GZIPOutputStream(baos)) {
373
byte[] bytes = json.getBytes("UTF-8");
374
gzos.write(bytes);
0 commit comments