mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-28 15:53:51 +01: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