m_CurrentFile.clear();
/* Also free the memory for the list buffer */
- delete m_ListBuffer;
+ delete[] m_ListBuffer;
m_ListBuffer = NULL;
return false;
m_StartupInfo.cb = sizeof(m_StartupInfo);
m_StartupInfo.dwFlags = STARTF_USESTDHANDLES;
+ m_StartupInfo.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
m_StartupInfo.hStdOutput = m_hWritePipe;
+ m_StartupInfo.hStdError = m_hWritePipe;
/* The virtual test list is of course faster, so it should be preferred over
the journaled one.