mirror of
https://github.com/xcat2/xNBA.git
synced 2025-02-16 18:48:12 +00:00
[test] Fix memory leak in settings self-tests
Detected using Valgrind. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
df2773193e
commit
69fa29029c
@ -267,7 +267,8 @@ static void settings_test_exec ( void ) {
|
||||
0x7a, 0x7c, 0xfe, 0x4f, 0xca, 0x4a, 0x57 ),
|
||||
"1a6a749d-0eda-461a-a87a-7cfe4fca4a57" );
|
||||
|
||||
/* Unregister test settings block */
|
||||
/* Clear and unregister test settings block */
|
||||
clear_settings ( &test_settings );
|
||||
unregister_settings ( &test_settings );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user