Resolved issues found during unit testing of file logging feature.

This commit is contained in:
Juan Carlos Luciani 2007-03-05 18:01:32 +00:00
parent 72a6a0003c
commit 4c2f384001
3 changed files with 8 additions and 3 deletions

View File

@ -113,6 +113,7 @@ AllowUntrustedCerts true
# If this parameter is not set on windows, the client defaults # If this parameter is not set on windows, the client defaults
# to dumping debug output to the debug console. # to dumping debug output to the debug console.
# #
# Note: The folder specified must exist. # Note: The folder specified must exist and all users that may
# be writting to it should be given write privileges to it.
# #
#DebugLogFolderPath c:\logfolder #DebugLogFolderPath c:\logfolder

View File

@ -451,7 +451,7 @@ ConfigIf_FreeValueString(
// Free the buffer // Free the buffer
free(pValueString); free(pValueString);
DbgTrace(2, "-ConfigIf_FreeValueString- End", 0); DbgTrace(2, "-ConfigIf_FreeValueString- End\n", 0);
} }

View File

@ -1059,7 +1059,11 @@ UnInitializeLibrary(void)
// Free necessary buffers // Free necessary buffers
if (g_pDebugLogFilePath) if (g_pDebugLogFilePath)
free(g_pDebugLogFilePath); {
char *pBuffer = g_pDebugLogFilePath;
g_pDebugLogFilePath = NULL;
free(pBuffer);
}
if (g_pATSHostName) if (g_pATSHostName)
free(g_pATSHostName); free(g_pATSHostName);