fix indirect leak
This commit is contained in:
parent
0b21b7dff1
commit
b6b0e266eb
|
@ -1360,11 +1360,11 @@ void* transInitServer(uint32_t ip, uint32_t port, char* label, int numOfThreads,
|
|||
goto End;
|
||||
}
|
||||
|
||||
// if (false == taosValidIpAndPort(srv->ip, srv->port)) {
|
||||
// code = TAOS_SYSTEM_ERROR(errno);
|
||||
// tError("invalid ip/port, %d:%d, reason:%s", srv->ip, srv->port, terrstr());
|
||||
// goto End;
|
||||
// }
|
||||
if (false == taosValidIpAndPort(srv->ip, srv->port)) {
|
||||
code = TAOS_SYSTEM_ERROR(errno);
|
||||
tError("invalid ip/port, %d:%d, reason:%s", srv->ip, srv->port, terrstr());
|
||||
goto End;
|
||||
}
|
||||
char pipeName[PATH_MAX];
|
||||
|
||||
#if defined(WINDOWS) || defined(DARWIN)
|
||||
|
|
Loading…
Reference in New Issue