fix(memory check):
Platone nodeDiscovery: there is a memory leak in nodeResFree()
@@ -99,6 +99,8 @@ void nodeResFree(nodesResult *result_out)
BoatFree(result_out->nodeInfo[i].IP);
}
}
+ BoatFree(result_out->nodeInfo);
+ result_out->nodeInfo = NULL;
result_out->num = 0;
}
