DiskIO (Windows): fix segfault and memleak

This commit is contained in:
李通洲 committed 2023-12-17 19:40:24 +08:00
1 parent c3a28064f6
commit 4e4246a46a
3 files changed
+3 -1

No files matched your search

+1
View File
@@ -114,6 +114,7 @@ void ffPrintDiskIO(FFDiskIOOptions* options)
ffStrbufDestroy(&dev->name);
ffStrbufDestroy(&dev->interconnect);
ffStrbufDestroy(&dev->devPath);
ffStrbufDestroy(&dev->serial);
}
}