Skip to content

Commit cc913cf

Browse files
committed
Fix CID 1116497 Resource leak
1 parent 5c29f3f commit cc913cf

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxy.java‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,11 @@ public static void startWithContext(Properties conf, Object context, byte[] ksBi
307307
s_logger.error(e.toString(), e);
308308
}
309309
}
310+
try {
311+
confs.close();
312+
} catch (IOException e) {
313+
s_logger.error("Failed to close consolepropxy.properties : " + e.toString(), e);
314+
}
310315

311316
start(conf);
312317
}

0 commit comments

Comments
 (0)