X-Git-Url: http://pilppa.org/gitweb/?p=libplp.git;a=blobdiff_plain;f=src%2FDevice.cc;fp=src%2FDevice.cc;h=d09d53b66432c9ce28a5d4e0171424d92f0e2bb8;hp=714e830e13bcbafdda786fa10522e6339f544220;hb=0fa52fa51ad87bfb7871956f2cca83434f3bff7e;hpb=97671ad08a864c833fab1b3827e3d91749c0e9d7 diff --git a/src/Device.cc b/src/Device.cc index 714e830..d09d53b 100644 --- a/src/Device.cc +++ b/src/Device.cc @@ -16,6 +16,7 @@ Device::Device(string id_param, id = id_param; type = type_param; lifecycle_status = LIFECYCLE_STATUS__UNAVAILABLE; + _cfg = NULL; } Device::Device(std::string id_param, @@ -26,10 +27,11 @@ Device::Device(std::string id_param, type = type_param; name = name_param; lifecycle_status = status_param; + _cfg = NULL; } //Device::~Device() { -// log_debug("Device: constructor\n"); +// delete(_cfg); //} string Device::get_id() {