Daan, Please pick up the below fixes for resource leaks and other Coverity issues.
4ba3aae2ea0290ca012623083e13625e08a9dde5 3c5f64c97ab071451aee7f232d8f2cec6d89044d dbfce8b11e25855a8cb21ec2bbbfe20940bb788d As well, please check the below commit, its fix for CLOUDSTACK-6793 91d054cb00f6a5818f2be1c7e4d3f44a2c58bfcc Thanks! Santhosh