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

This commit is contained in:
Shuduo Sang 2021-08-17 18:38:33 +08:00 committed by GitHub
parent fa6f3c2fdb
commit 2bed48b402
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;