using strbuf for loading/saving cached values

This commit is contained in:
Linus Dierheimer
2021-03-21 20:42:07 +01:00
parent c783bb9d97
commit 2004544528
11 changed files with 53 additions and 46 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ static void handleGPU(FFinstance* instance, struct pci_access* pacc, struct pci_
);
}
ffPrintAndSaveCachedValue(instance, key, gpu.chars);
ffPrintAndSaveCachedValue(instance, key, &gpu);
ffStrbufDestroy(&gpu);
}