Resolved issues found during unit testing of file logging feature.
This commit is contained in:
		| @@ -113,6 +113,7 @@ AllowUntrustedCerts	true | ||||
| #              If this parameter is not set on windows, the client defaults | ||||
| #              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 | ||||
|   | ||||
| @@ -451,7 +451,7 @@ ConfigIf_FreeValueString( | ||||
|    // Free the buffer | ||||
|    free(pValueString); | ||||
|  | ||||
|    DbgTrace(2, "-ConfigIf_FreeValueString- End", 0); | ||||
|    DbgTrace(2, "-ConfigIf_FreeValueString- End\n", 0); | ||||
| } | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -1059,7 +1059,11 @@ UnInitializeLibrary(void) | ||||
|  | ||||
|    // Free necessary buffers | ||||
|    if (g_pDebugLogFilePath) | ||||
|       free(g_pDebugLogFilePath); | ||||
|    { | ||||
|       char *pBuffer = g_pDebugLogFilePath; | ||||
|       g_pDebugLogFilePath = NULL; | ||||
|       free(pBuffer); | ||||
|    } | ||||
|  | ||||
|    if (g_pATSHostName) | ||||
|       free(g_pATSHostName); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user