mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
Sound: don't leak memory
This commit is contained in:
@@ -65,4 +65,10 @@ void ffPrintSound(FFinstance* instance)
|
||||
printDevice(instance, device, 0);
|
||||
}
|
||||
}
|
||||
|
||||
FF_LIST_FOR_EACH(FFSoundDevice, device, result)
|
||||
{
|
||||
ffStrbufDestroy(&device->name);
|
||||
ffStrbufDestroy(&device->manufacturer);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user