aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/eeprom_c_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'host/tests/eeprom_c_test.c')
-rw-r--r--host/tests/eeprom_c_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/tests/eeprom_c_test.c b/host/tests/eeprom_c_test.c
index 0f03295e8..1b29dfd44 100644
--- a/host/tests/eeprom_c_test.c
+++ b/host/tests/eeprom_c_test.c
@@ -140,12 +140,14 @@ int main(){
uhd_dboard_eeprom_last_error(db_eeprom, str_buffer, BUFFER_SIZE);
fprintf(stderr, "db_eeprom error: %s\n", str_buffer);
}
+ uhd_dboard_eeprom_free(&db_eeprom);
free_mboard_eeprom:
if(return_code){
uhd_mboard_eeprom_last_error(mb_eeprom, str_buffer, BUFFER_SIZE);
fprintf(stderr, "mb_eeprom error: %s\n", str_buffer);
}
+ uhd_mboard_eeprom_free(&mb_eeprom);
end_of_test:
if(!return_code){