[TD-6166]<fix>: pointer not initialized led taos.exe exit on windows. (#7424)
This commit is contained in:
parent
9de3030c74
commit
0c7cf3a918
|
@ -521,7 +521,7 @@ int ResolveLinksA(const char *path, char *buf, size_t bufsize) {
|
||||||
/* Normally defined in stdlib.h. Output buf must contain PATH_MAX bytes */
|
/* Normally defined in stdlib.h. Output buf must contain PATH_MAX bytes */
|
||||||
char *realpathU(const char *path, char *outbuf) {
|
char *realpathU(const char *path, char *outbuf) {
|
||||||
char *pOutbuf = outbuf;
|
char *pOutbuf = outbuf;
|
||||||
char *pOutbuf1;
|
char *pOutbuf1 = NULL;
|
||||||
char *pPath1 = NULL;
|
char *pPath1 = NULL;
|
||||||
char *pPath2 = NULL;
|
char *pPath2 = NULL;
|
||||||
int iErr;
|
int iErr;
|
||||||
|
|
Loading…
Reference in New Issue