void DFUTransportUSB::deinit() { if(init_counter.dec() == 0) { delete map; map = NULL; delete lockMap; lockMap = NULL; } }
void DFUFileInfoCache::deinit() { DFUFileCache::deinit(); if(init_counter.dec() == 0) { delete map; map = NULL; delete lockMap; lockMap = NULL; } }