diff --git a/source/code/providers/SCX_DiskDriveStatisticalInformation_Class_Provider.cpp b/source/code/providers/SCX_DiskDriveStatisticalInformation_Class_Provider.cpp index e3fb5442..e76f0fa7 100644 --- a/source/code/providers/SCX_DiskDriveStatisticalInformation_Class_Provider.cpp +++ b/source/code/providers/SCX_DiskDriveStatisticalInformation_Class_Provider.cpp @@ -178,8 +178,10 @@ void SCX_DiskDriveStatisticalInformation_Class_Provider::EnumerateInstances( size_t instancePos=(size_t)-1; if(filter) { - char* exprStr[QLENGTH]={'\0'}; - char* qtypeStr[QLENGTH]={'\0'}; + //char* exprStr[QLENGTH]={'\0'}; + char ** exprStr = new char *[QLENGTH]; + //char* qtypeStr[QLENGTH]={'\0'}; + char ** qtypeStr = new char *[QLENGTH]; const MI_Char** expr=(const MI_Char**)&exprStr; const MI_Char** qtype=(const MI_Char**)&qtypeStr;