munin-monitoring/munin-node-win32 — pull request #54 by mrumpf (2014-09-22 21:45:23+00:00)
Title: Disktime Fix

The disk names were not handled properly when the _UNICODE symbol was defined and thus no disk times were reported. The diskTimeCounterPath was not set correctly to L"\\LogicalDisk(HarddiskVolume1)\\% Disk Time" for example, instead the "HarddiskVolume1" was a single byte character string, interpreted as multi-byte character string which led to chinese characters garbage and as a consequence to failing PdhCollectQueryData calls.
Please double check the patch for memory leaks! I saw some memory leak detection report in Visual Studio but could not clearly identify my changes as the source of the leak.