[TD-6166]<fix>: pointer not initialized led taos.exe exit on windows. (#7424)

This commit is contained in:
Shuduo Sang 2021-08-17 18:39:02 +08:00 committed by GitHub
parent 9de3030c74
commit 0c7cf3a918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
char *realpathU(const char *path, char *outbuf) {
char *pOutbuf = outbuf;
char *pOutbuf1;
char *pOutbuf1 = NULL;
char *pPath1 = NULL;
char *pPath2 = NULL;
int iErr;