mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-16 00:46:52 +01:00
Generate the QoSm1Proxy Name from the Gateway Id.
Bugfix of AggregatePublish Memory leak of ClientList Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -79,7 +79,11 @@ void ClientList::setClientList(int type)
|
||||
{
|
||||
throw Exception("ClientList::initialize(): No client list defined by the configuration.");
|
||||
}
|
||||
params->clientListName = strdup(fileName.c_str());
|
||||
|
||||
if ( params->clientListName == nullptr )
|
||||
{
|
||||
params->clientListName = strdup(fileName.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
void ClientList::setPredefinedTopics(bool aggrecate)
|
||||
|
||||
Reference in New Issue
Block a user