DiskIO (Windows): fix segfault and memleak

This commit is contained in:
李通洲
2023-12-17 19:40:24 +08:00
parent c3a28064f6
commit 4e4246a46a
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -82,6 +82,7 @@ const char* ffDiskIOGetIoCounters(FFlist* result, FFDiskIOOptions* options)
continue;
}
ffStrbufInitWS(&device->devPath, szDevice);
ffStrbufInit(&device->serial);
if (sdd->SerialNumberOffset != 0)
{