Reclaimed memory from REQ and OPT vectors after they are no longer needed.
Lots more memory optimization to perform!
This commit is contained in:
parent
8121146c6b
commit
d2a7030640
|
|
@ -1459,6 +1459,9 @@ void SpanService::validate(){
|
||||||
homeSpan.configLog+=" *** WARNING! Required Characteristic for this Service not found. ***\n";
|
homeSpan.configLog+=" *** WARNING! Required Characteristic for this Service not found. ***\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vector<HapChar *>().swap(opt);
|
||||||
|
vector<HapChar *>().swap(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue