#vulnerable code 
                                @Override
    protected void saveMetadata() {
        new ObjectMetadataCommand(getAccount(), getClient(), getAccess(), this, info.getHeaders()).call();
    } 
                            #location 3 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Override
    protected void saveMetadata() {
        commandFactory.createObjectMetadataCommand(getAccount(), getClient(), getAccess(), this, info.getHeaders()).call();
    }