MCPcopy Create free account
hub / github.com/SNAS/openbmp / freeTopicMap

Method freeTopicMap

Server/src/kafka/KafkaTopicSelector.cpp:444–452  ·  view source on GitHub ↗

* Free allocated topic map pointers */

Source from the content-addressed store, hash-verified

442 * Free allocated topic map pointers
443 */
444void KafkaTopicSelector::freeTopicMap() {
445 // Free topic pointers
446 for (topic_map::iterator it = topic.begin(); it != topic.end(); it++) {
447 if (it->second) {
448 delete it->second;
449 it->second = NULL;
450 }
451 }
452}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected