implemented dtors

This commit is contained in:
2021-04-11 12:29:54 +02:00
parent a12f036339
commit ee08658f55
3 changed files with 14 additions and 7 deletions

View File

@ -42,4 +42,8 @@ GpioMap GpioCookie::getGpioMap() const {
return gpioMap;
}
GpioCookie::~GpioCookie() {}
GpioCookie::~GpioCookie() {
for(auto& config: gpioMap) {
delete(config.second);
}
}