Revision ae53d437 include/Nebula.h

View differences:

include/Nebula.h
26 26
#include "HostPool.h"
27 27
#include "UserPool.h"
28 28
#include "VMTemplatePool.h"
29
#include "GroupPool.h"
29 30

  
30 31
#include "VirtualMachineManager.h"
31 32
#include "LifeCycleManager.h"
......
82 83
        return cpool;
83 84
    };
84 85

  
86
    GroupPool * get_gpool()
87
    {
88
        return gpool;
89
    };
90

  
85 91
    VMTemplatePool * get_tpool()
86 92
    {
87 93
        return tpool;
......
240 246
    // -----------------------------------------------------------------------
241 247

  
242 248
    Nebula():nebula_configuration(0),db(0),vmpool(0),hpool(0),vnpool(0),
243
        upool(0),ipool(0),cpool(0),tpool(0),lcm(0),vmm(0),im(0),tm(0),dm(0),
244
        rm(0),hm(0),authm(0),imagem(0)
249
        upool(0),ipool(0),cpool(0),gpool(0),tpool(0),lcm(0),vmm(0),im(0),tm(0),
250
        dm(0),rm(0),hm(0),authm(0),imagem(0)
245 251
    {
246 252
        const char * nl = getenv("ONE_LOCATION");
247 253

  
......
306 312
            delete cpool;
307 313
        }
308 314

  
315
        if ( gpool != 0)
316
        {
317
            delete gpool;
318
        }
319

  
309 320
        if ( tpool != 0)
310 321
        {
311 322
            delete tpool;
......
403 414
    UserPool           * upool;
404 415
    ImagePool          * ipool;
405 416
    ClusterPool        * cpool;
417
    GroupPool          * gpool;
406 418
    VMTemplatePool     * tpool;
407 419

  
408 420
    // ---------------------------------------------------------------

Also available in: Unified diff